Authoritive for the Domain but Not Authoritive for the Host

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Feb 25 00:48:25 UTC 2002


> Here is the situation:
> 
> I'm using the DYNDNS services to register my cable modem (bob.dyndns.org)
> 
> I am also trying to run an internal DNS(named 9.2) server on
> l01.bob.dyndns.org(internal name)
> 
> I want my internal machines to resolve the DNS queries via
> l01.bob.dyndns.org.
> 
> Everything works except when trying to resolve "bob.dyndns.org".  I wanted
> this query to go to my forwarder but this is acutally what happens:
> 
> Any ideas?
> >> nslookup -d2 bob.dyndns.org
> 
> *** localhost can't find bob.dyndns.org: Non-existent host/domain
> ;; res_nmkquery(QUERY, 1.0.0.127.in-addr.arpa, IN, PTR)
> ------------
> SendRequest(), len 40
>     HEADER:
>         opcode = QUERY, id = 18830, rcode = NOERROR
>         header flags:  query, want recursion
>         questions = 1,  answers = 0,  authority records = 0,  additional = 0
> 
>     QUESTIONS:
>         1.0.0.127.in-addr.arpa, type = PTR, class = IN
> 
> ------------
> ------------
> Got answer (112 bytes):
>     HEADER:
>         opcode = QUERY, id = 18830, rcode = NOERROR
>         header flags:  response, auth. answer, want recursion, recursion
> avail.
>         questions = 1,  answers = 1,  authority records = 1,  additional = 1
> 
>     QUESTIONS:
>         1.0.0.127.in-addr.arpa, type = PTR, class = IN
>     ANSWERS:
>     ->  1.0.0.127.in-addr.arpa
>         type = PTR, class = IN, dlen = 11
>         name = localhost
>         ttl = 86400 (1D)
>     AUTHORITY RECORDS:
>     ->  0.0.127.in-addr.arpa
>         type = NS, class = IN, dlen = 21
>         nameserver = l01.bob.dyndns.org
>         ttl = 86400 (1D)
>     ADDITIONAL RECORDS:
>     ->  l01.bob.dyndns.org
>         type = A, class = IN, dlen = 4
>         internet address = 192.168.0.2
>         ttl = 86400 (1D)
> 
> ------------
> Server:  localhost
> Address:  127.0.0.1
> 
> ;; res_nmkquery(QUERY, bob.dyndns.org, IN, A)
> ------------
> SendRequest(), len 33
>     HEADER:
>         opcode = QUERY, id = 18831, rcode = NOERROR
>         header flags:  query, want recursion
>         questions = 1,  answers = 0,  authority records = 0,  additional = 0
> 
> 
>     QUESTIONS:
>         bob.dyndns.org, type = A, class = IN
> ------------
> ------------
> Got answer (78 bytes):
>     HEADER:
>         opcode = QUERY, id = 18831, rcode = NOERROR
>         header flags:  response, auth. answer, want recursion, recursion
> avail.
>         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> 
>     QUESTIONS:
>         bob.dyndns.org, type = A, class = IN
>     AUTHORITY RECORDS:
>     ->  bob.dyndns.org
>         type = SOA, class = IN, dlen = 33
>         ttl = 86400 (1D)
>         origin = l01.bob.dyndns.org
>         mail addr = root.l01.bob.dyndns.org
>         serial = 1
>         refresh = 10800 (3H)
>         retry   = 3600 (1H)
>         expire  = 604800 (1W)
>         minimum ttl = 86400 (1D)
> 
> ------------
> ;; res_nmkquery(QUERY, bob.dyndns.org.bob.dyndns.org, IN, A)
> ------------
> SendRequest(), len 49
>     HEADER:
>         opcode = QUERY, id = 18832, rcode = NOERROR
>         header flags:  query, want recursion
>         questions = 1,  answers = 0,  authority records = 0,  additional = 0
> 
>     QUESTIONS:
>         bob.dyndns.org.bob.dyndns.org, type = A, class = IN
> 
> ------------
> ------------
> Got answer (94 bytes):
>     HEADER:
>         opcode = QUERY, id = 18832, rcode = NXDOMAIN
>         header flags:  response, auth. answer, want recursion, recursion
> avail.
>         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> 
>     QUESTIONS:
>         bob.dyndns.org.bob.dyndns.org, type = A, class = IN
>     AUTHORITY RECORDS:
>     ->  bob.dyndns.org
>         type = SOA, class = IN, dlen = 33
>         ttl = 86400 (1D)
>         origin = l01.bob.dyndns.org
>         mail addr = root.l01.bob.dyndns.org
>         serial = 1
>         refresh = 10800 (3H)
>         retry   = 3600 (1H)
>         expire  = 604800 (1W)
>         minimum ttl = 86400 (1D)
> 
> ------------
> ;; res_nmkquery(QUERY, bob.dyndns.org.dyndns.org, IN, A)
> ------------
> SendRequest(), len 44
>     HEADER:
>         opcode = QUERY, id = 18833, rcode = NOERROR
>         header flags:  query, want recursion
>         questions = 1,  answers = 0,  authority records = 0,  additional = 0
> 
>     QUESTIONS:
>         bob.dyndns.org.dyndns.org, type = A, class = IN
> 
> ------------
> ------------
> Got answer (95 bytes):
>     HEADER:
>         opcode = QUERY, id = 18833, rcode = NXDOMAIN
>         header flags:  response, want recursion, recursion avail.
>         questions = 1,  answers = 0,  authority records = 1,  additional = 0
> 
>     QUESTIONS:
>         bob.dyndns.org.dyndns.org, type = A, class = IN
>     AUTHORITY RECORDS:
>     ->  dyndns.org
>         type = SOA, class = IN, dlen = 39
>         ttl = 559 (9m19s)
>         origin = ns1.dyndns.org
>         mail addr = hostmaster.dyndns.org
>         serial = 2031975322
>         refresh = 600 (10M)
>         retry   = 300 (5M)
>         expire  = 604800 (1W)
>         minimum ttl = 600 (10M)
> 
> ------------

	You can't both serve a zone and expect to lookup information that
	lies in that zone from a different server.

	Mark
--
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