Nslookup returns "no answer" but dig works?!

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Jan 21 20:38:23 UTC 2003


> 
> I'm having a strange problem, nslookup replies "No answer" when
> checking a zone on the dns server. However dig works without a hitch.
> We have checked if the problem was related to the firewall, even
> though we turned of the firewall nslookup replied no answer. My
> question is, could this be a problem related to the sone file? Perhaps
> it dislikes how the sone files are formatted?
> 
> Here is a printout of one query made by nslookup:
>     QUESTIONS:
>         bestwestern.no, type = A, class = IN
>     ANSWERS:
>     AUTHORITY RECORDS:
>     ->  bestwestern.no
>         origin = etype.nettdesign.no
>         mail addr = hostmaster.nettdesign.no
>         serial = 2002012101
>         refresh = 3600
>         retry = 900
>         expire = 3600000
>         minimum = 3600
>     ADDITIONAL RECORDS:
> ------------
> *** Can't find bestwestern.no: No answer
> 
> Here is a query on atc.no
> ------------
>     QUESTIONS:
>         atc.no, type = A, class = IN
>     ANSWERS:
>     ->  atc.no
>         internet address = 195.159.120.8
>     AUTHORITY RECORDS:
>     ->  atc.no
>         nameserver = ns2.atc.no.
>     ->  atc.no
>         nameserver = ns.atc.no.
>     ADDITIONAL RECORDS:
> ------------
> Non-authoritative answer:
> Name:   atc.no
> Address: 195.159.120.8
> 
> Strange enough, the query on atc.no works.
> If any of you guys have any idea on how to solve this, please tell :)

	You need learn how to inteperate nslookups answers.

	"No answer" means that it got no answer that contained the
	type you were requesting.

	It returns a different message if it get no replies from
	the nameserver (No response from server).

	Mark
> 
> - Savuud
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list