I am still working on some Bind 9 DNS servers, and not getting the results I
am looking for.

I am following this doc http://www.tldp.org/HOWTO/DNS-HOWTO-3.html

Cache dns works for workstations, but I am not getting the right answer from
localhost. The first example is what I get  with dig on my new server. The
second example is what I  want, and get with dig on a server I set up last
year. I am not seeing anything different in how they are set up. Any ideas
what to look for?

<example 1>
[root at enforcer pz]# dig -x 127.0.0.1

; <<>> DiG 9.2.2-P3 <<>> -x 127.0.0.1

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52177

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:

;1.0.0.127.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:

in-addr.arpa. 10800 IN SOA A.ROOT-SERVERS.NET. bind.ARIN.NET. 2004020304
1800 900 691200 10800

;; Query time: 120 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Tue Feb 3 15:32:51 2004

;; MSG SIZE rcvd: 104



</example 1>



<example 2>

<<>> DiG 9.2.1 <<>> -x 127.0.0.1

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53723

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;1.0.0.127.in-addr.arpa. IN PTR

;; ANSWER SECTION:

1.0.0.127.in-addr.arpa. 86400 IN PTR localhost.

;; AUTHORITY SECTION:

0.0.127.in-addr.arpa. 86400 IN NS localhost.

;; ADDITIONAL SECTION:

localhost. 86400 IN A 127.0.0.1

;; Query time: 5 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Tue Feb 3 16:24:35 2004

;; MSG SIZE rcvd: 93



</example 2>


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list