Can't find server name...no information
Kevin Darcy
kcd at daimlerchrysler.com
Wed Jan 24 03:29:33 UTC 2001
"recursion no" means that your nameserver will only answer from its
authoritative data. You are authoritative for quetico.net but you are not
authoritative for 71.231.63.in-addr.arpa, therefore your nameserver cannot
reverse-resolve its own IP address. Unfortunately, nslookup sucks in that it
requires any nameserver it uses to be able to reverse-resolve its own
IP address. That's why it's skipping to the next nameserver in your
/etc/resolv.conf. It jumps to the conclusion that the local nameserver is
"bad".
You have a number of options here. The preferred options are: a) become
authoritative (presumably, a slave) for 71.231.63.in-addr.arpa, b) use a real
lookup tool like "dig", which doesn't care whether the nameserver can
reverse-resolve itself or not, c) use 127.0.0.1 in your /etc/resolv.conf
instead of your global address, or d) some combination of the above.
Less-preferred alternatives include: e) just use nslookup interactively from
now on, or f) remove your own nameserver's address from /etc/resolv.conf (i.e.
just use dns1.avalon.net or whatever for lookups originating on your server --
there's nothing that says a machine running a nameserver has to use itself for
its own lookups).
- Kevin
Jeremy Gardner wrote:
> Hello,
>
> I am trying to set up a DNS server on my local machine as primary for =
> several domains, and then have my ISP be secondary. Until I get this up =
> and running, my ISP is both primary and secondary. My goal is to set my =
> local server up as authoritative, test it out and make sure it works, =
> then make this switch public. Can I do this?
>
> I'm running Linux (2.2.15 kernel) and just installed Bind 9.1. I've =
> configured my /etc/named.conf file, root hint file, domain zone file, =
> and localhost reverse map file. My root hint file was received from =
> someone else.
>
> When I try to resolve any hostname within this domain interactively, and =
> use my local server, everything resolves fine. When I try to resolve =
> any hostname within the domain non-interactively, I get the error below.
>
> It moves past my local server and onto the second nameserver defined in =
> my resolv.conf (ISP nameserver). What am I doing wrong? I will also =
> include my related config files, if that helps... I'm new to DNS, so go =
> easy on me. Would I be better served going back to Bind 8? I feel like =
> 9.1 installed fine and this is just a config problem that I haven't been =
> able to figure out yet.
>
> The domain in question is quetico.net. The main server I'm trying to =
> configure as NS is pierna.quetico.net.
>
> Thanks!
> Jeremy
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
> nslookup error output
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> [jeremy at pierna jeremy]$ nslookup pierna.quetico.net
> Authoritative answers can be found from:
> (root) nameserver =3D M.ROOT-SERVERS.NET
> (root) nameserver =3D A.ROOT-SERVERS.NET
> (root) nameserver =3D B.ROOT-SERVERS.NET
> (root) nameserver =3D C.ROOT-SERVERS.NET
> (root) nameserver =3D D.ROOT-SERVERS.NET
> (root) nameserver =3D E.ROOT-SERVERS.NET
> (root) nameserver =3D F.ROOT-SERVERS.NET
> (root) nameserver =3D G.ROOT-SERVERS.NET
> (root) nameserver =3D H.ROOT-SERVERS.NET
> (root) nameserver =3D I.ROOT-SERVERS.NET
> (root) nameserver =3D J.ROOT-SERVERS.NET
> (root) nameserver =3D K.ROOT-SERVERS.NET
> (root) nameserver =3D L.ROOT-SERVERS.NET
> B.ROOT-SERVERS.NET internet address =3D 128.9.0.107
> C.ROOT-SERVERS.NET internet address =3D 192.33.4.12
> D.ROOT-SERVERS.NET internet address =3D 128.8.10.90
> E.ROOT-SERVERS.NET internet address =3D 192.203.230.10
> F.ROOT-SERVERS.NET internet address =3D 192.5.5.241
> G.ROOT-SERVERS.NET internet address =3D 192.112.36.4
> H.ROOT-SERVERS.NET internet address =3D 128.63.2.53
> I.ROOT-SERVERS.NET internet address =3D 192.36.148.17
> J.ROOT-SERVERS.NET internet address =3D 198.41.0.10
> K.ROOT-SERVERS.NET internet address =3D 193.0.14.129
> L.ROOT-SERVERS.NET internet address =3D 198.32.64.12
> M.ROOT-SERVERS.NET internet address =3D 202.12.27.33
> *** Can't find server name for address 63.231.71.27: No information
> Server: dns1.avalon.net
> Address: 204.71.106.8
>
> Name: pierna.quetico.net
> Address: 63.231.71.27
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
> named.conf
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> options {
> directory "/etc/namedb"; =20
> pid-file "/var/run/named.pid";
> allow-query { any; };=20
> recursion no;
> auth-nxdomain yes;
> };
>
> zone "." {=20
> type hint;=20
> file "root.hint";=20
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "localhost.rev";
> notify no;
> };
>
> zone "quetico.net" {
> type master;
> file "quetico.net.db";
> notify yes;
> allow-transfer {
> 204.71.106.2;
> 204.71.106.8;
> };
> };
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
> quetico.net.db
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> $TTL 86400
> @ IN SOA pierna.quetico.net. jeremy.quetico.net. (
> 2001012301 ; Serial
> 10800 ; Refresh 3 hours
> 3600 ; Retry 1 hour
> 604800 ; Expire 1 week (168 hours)
> 86400 ) ; minimum 12 hours
>
> IN A 63.231.71.27
>
> IN NS pierna.quetico.net.
> IN NS dns1.avalon.net.
>
> IN MX 10 pierna.quetico.net.
> IN MX 20 argo.quetico.net.
> =20
> localhost IN A 127.0.0.1
>
> argo IN A 204.71.106.169
> www IN CNAME pierna.quetico.net.
> ftp IN CNAME pierna.quetico.net.
> mail IN CNAME pierna.quetico.net.
> darky IN A 63.231.71.25
> shade IN A 63.231.71.26
> pierna IN A 63.231.71.27
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
> root.hint
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> . 3600000 IN NS A.ROOT-SERVERS.NET.
> A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
> . 3600000 NS B.ROOT-SERVERS.NET.
> B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107
> . 3600000 NS C.ROOT-SERVERS.NET.
> C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
> . 3600000 NS D.ROOT-SERVERS.NET.
> D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
> . 3600000 NS E.ROOT-SERVERS.NET.
> E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
> . 3600000 NS F.ROOT-SERVERS.NET.
> F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
> . 3600000 NS G.ROOT-SERVERS.NET.
> G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
> . 3600000 NS H.ROOT-SERVERS.NET.
> H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
> . 3600000 NS I.ROOT-SERVERS.NET.
> I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
> . 3600000 NS J.ROOT-SERVERS.NET.
> J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10
> . 3600000 NS K.ROOT-SERVERS.NET.
> K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129=20
> . 3600000 NS L.ROOT-SERVERS.NET.
> L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
> . 3600000 NS M.ROOT-SERVERS.NET.
> M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
> localhost.rev
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D
>
> $TTL 86400
> @ IN SOA pierna.quetico.net. jeremy.pierna.quetico.net. (
> 2001012301 ; Serial
> 10800 ; Refresh every =
> 3 hours
> 3600 ; Retry every =
> hour
> 604800 ; Expire after a =
> week
> 86400 ) ; Minimum ttl of =
> 1 day
> IN NS pierna.quetico.net.
>
> 1 IN PTR localhost.
More information about the bind-users
mailing list