domain.com.domain.com being looked up for local names?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Fri Aug 20 05:09:08 UTC 1999


> How exactly did you do the lookup?
> Did you use nslookup? Nslookup will always append the domain name to
> what ever you enter if there is no ending dot. Try the same lookup and
> put a trailing dot. NOTE: This is an nslookup oddity, not how standard
> lookups are performed for telnet, etc

	What a load of hogwash.  Nslookup does not always do this.  I
	could go back to earlier releases (at least to BIND 4.9.3) and
	get the same results.

	Mark

bsdi:nslookup {144} % ./nslookup
Default Server:  bsdi.dv.isc.org
Address:  130.155.191.233

> set debug
> ftp.uu.net
Server:  bsdi.dv.isc.org
Address:  130.155.191.233

;; res_mkquery(0, ftp.uu.net, 1, 1)
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 12647, rcode = NOERROR
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 1,  authority records = 2,  additional = 2

    QUESTIONS:
        ftp.uu.net, type = A, class = IN
    ANSWERS:
    ->  ftp.uu.net
        internet address = 192.48.96.9
        ttl = 3600 (1 hour)
    AUTHORITY RECORDS:
    ->  uu.net
        nameserver = auth60.ns.uu.net
        ttl = 3600 (1 hour)
    ->  uu.net
        nameserver = auth00.ns.uu.net
        ttl = 3600 (1 hour)
    ADDITIONAL RECORDS:
    ->  auth60.ns.uu.net
        internet address = 198.6.1.181
        ttl = 3600 (1 hour)
    ->  auth00.ns.uu.net
        internet address = 198.6.1.65
        ttl = 3600 (1 hour)

------------
Name:    ftp.uu.net
Address:  192.48.96.9

> exit
bsdi:nslookup {145} % pwd
/usr/home/marka/BIND4/bind-4.9.7-REL/native.b/tools/nslookup


> 
> Michael
> 
> Ernie Oporto wrote:
> > 
> > Putting BIND 8.2.1 into debug mode for me gives me the following when
> > resolving local addresses.  The names resolve on the second
> > permutation, but why is the first one taking place.  I guess I could
> > live with it if I had to, but this just doesn't look right.  What would
> > cause this?  Let me know if anyone wants to see
> > my /usr/local/etc/named.conf or my /var/named/* files.
> > 
> > Debug level 1
> > Version = named 8.2.1 Fri Jul  2 01:28:19 EDT 1999
> >         root at vader:/nb/local/src/bind/src/bin/named
> > conffile = /usr/local/etc/named.conf
> > datagram from [216.164.43.139].32787, fd 24, len 44
> > req: nlookup(obiwan.shokk.com.shokk.com) id 24 type=1 class=1
> > req: found 'obiwan.shokk.com.shokk.com' as 'shokk.com' (cname=0)
> > ns_req: answer -> [216.164.43.139].32787 fd=24 id=24 size=100 rc=3
> > datagram from [216.164.43.139].32787, fd 24, len 34
> > req: nlookup(obiwan.shokk.com) id 25 type=1 class=1
> > req: found 'obiwan.shokk.com' as 'obiwan.shokk.com' (cname=0)
> > ns_req: answer -> [216.164.43.139].32787 fd=24 id=25 size=95 rc=0
> > Debug off
> > 
> > --
> > http://www.geocities.com/SiliconValley/Park/9276
> > ICQ-17933910  Ernie "Shokk" Oporto
> > 
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list