Skip site navigation (1)Skip section navigation (2)
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 setu=
ps
> like mine are very rare. Doug?

This is natural, unless you specifically enter the zones for 192.168.8.*=20
(forward and reverse) in your client DNS server (as slave or forward zones,=
=20
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=
=20
server to query for those domains, as the (public internet) root name serve=
rs=20
won't reply for them (zones always take precedence over forwarders, so if y=
ou=20
have a zone for ".", i.e. everything, in your named.conf, your forwarder is=
=20
never queried for anything), and it has no other info on=20
8.168.192.in-addr.arpa than to resursively look it up starting from a root=
=20
name server, which won't answer but with a NXDOMAIN response.

If you remove the hints, there's only a forwarder left in your configuratio=
n,=20
which in turn is always queried, and which can also properly resolve your=20
domains.

Hope this explains stuff.

=2D-=20
Heiko Wundram
Product & Application Development
=2D------------------------------------
Office Germany - EXPO PARK HANNOVER
=20
Beenic Networks GmbH
Mail=E4nder Stra=DFe 2
30539 Hannover
=20
=46on        +49 511 / 590 935 - 15
=46ax        +49 511 / 590 935 - 29
Mail       wundram@beenic.net


Beenic Networks GmbH
=2D------------------------------------
Sitz der Gesellschaft: Hannover
Gesch=E4ftsf=FChrer: 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>