Date: Tue, 17 Jul 2007 09:31:57 +0200 From: "Heiko Wundram (Beenic)" <wundram@beenic.net> To: freebsd-stable@freebsd.org Subject: Re: Problems with named default configuration in 6-STABLE Message-ID: <200707170931.57751.wundram@beenic.net> In-Reply-To: <200707170920.24692.lofi@freebsd.org> References: <200707162319.41724.lofi@freebsd.org> <20070717052823.GA1277@darklight.org.ru> <200707170920.24692.lofi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 17 July 2007 09:20:16 Michael Nottebrock wrote:
> Yes - and this:
>
> zone "." {
> type slave;
> file "slave/root.slave";
> masters {
> 192.5.5.241; // F.ROOT-SERVERS.NET.
> 192.228.79.201; // B.ROOT-SERVERS.NET.
> 192.33.4.12; // C.ROOT-SERVERS.NET.
> 192.112.36.4; // G.ROOT-SERVERS.NET.
> 193.0.14.129; // K.ROOT-SERVERS.NET.
> };
> notify no;
> };
>
> prevents me from resolving hostnames in "my.domain". What I'm still
> wondering though, is this an oversight or by design? I can't imagine setups
> like mine are very rare. Doug?
This is natural, unless you specifically enter the zones for 192.168.8.*
(forward and reverse) in your client DNS server (as slave or forward zones,
see the bind manual for the latter, which I'd recommend in your case).
The explanation is simple: how is (your local) bind supposed to know which
server to query for those domains, as the (public internet) root name servers
won't reply for them (zones always take precedence over forwarders, so if you
have a zone for ".", i.e. everything, in your named.conf, your forwarder is
never queried for anything), and it has no other info on
8.168.192.in-addr.arpa than to resursively look it up starting from a root
name server, which won't answer but with a NXDOMAIN response.
If you remove the hints, there's only a forwarder left in your configuration,
which in turn is always queried, and which can also properly resolve your
domains.
Hope this explains stuff.
--
Heiko Wundram
Product & Application Development
-------------------------------------
Office Germany - EXPO PARK HANNOVER
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
Fon +49 511 / 590 935 - 15
Fax +49 511 / 590 935 - 29
Mail wundram@beenic.net
Beenic Networks GmbH
-------------------------------------
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707170931.57751.wundram>
