Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 17:41:10 -0500
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-isp@freebsd.org
Subject:   Re: weird dns problem
Message-ID:  <5.1.0.14.0.20010920173240.03a4aec8@mail.Go2France.com>
In-Reply-To: <20010920150631.T14298-100000@cx175057-a.ocnsd1.sdca.home.c om>

next in thread | previous in thread | raw e-mail | index | archive | help

>If I nslookup domainname authorative-name-server, I get the root servers
>back, its complete failure.

the root-servers.net + their ip addresses is called a "referral", while 
what you were looking for was an "answer".

don't use nslookup, use dig:

# dig @sol.earthlink.net sonicboom.org

; <<>> DiG 8.3 <<>> @sol.earthlink.net sonicboom.org
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUERY SECTION:
;;      sonicboom.org, type = A, class = IN

;; ANSWER SECTION:
sonicboom.org.          36M IN A        24.13.23.40

;; AUTHORITY SECTION:
sonicboom.org.          36M IN NS       ns.gecko.org.
sonicboom.org.          36M IN NS       ns1.noc.netcom.net.
sonicboom.org.          36M IN NS       ns2.noc.netcom.net.

;; ADDITIONAL SECTION:
ns.gecko.org.           12H IN A        199.174.211.75
ns1.noc.netcom.net.     3h1s IN A       204.31.1.1
ns2.noc.netcom.net.     3h1s IN A       199.183.9.2

>yet if I use it interactively
>nslookup
>enter
>server authorative-name-server
>enter
>domainname
>
>it works..
>
> > nslookup sonicboom.org sol.earthlink.net
>Authoritative answers can be found from:
>(root)  nameserver = A.ROOT-SERVERS.NET
>(root)  nameserver = H.ROOT-SERVERS.NET
>(root)  nameserver = C.ROOT-SERVERS.NET
>(root)  nameserver = G.ROOT-SERVERS.NET
>(root)  nameserver = F.ROOT-SERVERS.NET
>(root)  nameserver = B.ROOT-SERVERS.NET
>(root)  nameserver = J.ROOT-SERVERS.NET
>(root)  nameserver = K.ROOT-SERVERS.NET
>(root)  nameserver = L.ROOT-SERVERS.NET
>(root)  nameserver = M.ROOT-SERVERS.NET
>(root)  nameserver = I.ROOT-SERVERS.NET
>(root)  nameserver = E.ROOT-SERVERS.NET
>(root)  nameserver = D.ROOT-SERVERS.NET
>A.ROOT-SERVERS.NET      internet address = 198.41.0.4
>H.ROOT-SERVERS.NET      internet address = 128.63.2.53
>C.ROOT-SERVERS.NET      internet address = 192.33.4.12
>G.ROOT-SERVERS.NET      internet address = 192.112.36.4
>F.ROOT-SERVERS.NET      internet address = 192.5.5.241
>B.ROOT-SERVERS.NET      internet address = 128.9.0.107
>J.ROOT-SERVERS.NET      internet address = 198.41.0.10
>K.ROOT-SERVERS.NET      internet address = 193.0.14.129
>L.ROOT-SERVERS.NET      internet address = 198.32.64.12
>M.ROOT-SERVERS.NET      internet address = 202.12.27.33
>I.ROOT-SERVERS.NET      internet address = 192.36.148.17
>E.ROOT-SERVERS.NET      internet address = 192.203.230.10
>D.ROOT-SERVERS.NET      internet address = 128.8.10.90
>*** Can't find server name for address 207.69.188.192: No information
>*** Default servers are not available

you have to read what comes back, obviously you missed the preceding.


# dig -x 207.69.188.192

; <<>> DiG 8.3 <<>> -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUERY SECTION:
;;      192.188.69.207.in-addr.arpa, type = ANY, class = IN

;; ANSWER SECTION:
192.188.69.207.in-addr.arpa.  1H IN PTR  sol.earthlink.net.


... but the answer had very long delay for me, so probably your nslookup 
timed out waiting for the PTR answer.

nslookup requires the NS queired to have a ptr, a stupid requirement.

use dig.  your problem is a false one, yet again, thanks to nslookup

Len

http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010920173240.03a4aec8>