jimmah6786
December 4th, 2009, 01:05 PM
Is there a specific option I have to set to have my BIND9 DNS server automagically appened my domain suffix when querying local machines on the local network. For example, lets say I want to ping a local machine called "foo" which does exist. I get a hostname not found. however if I do a dig "foo.mydomain.example" I get:
; <<>> DiG 9.6.1-P1 <<>> foo.mydomain.example
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 53757
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;foo.mydomain.example. IN A
;; AUTHORITY SECTION:
mydomain.example. 604800 IN SOA ns.mydomain.example. root.mydomain.example. 9 604800 86400 2419200 604800
;; Query time: 1 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Fri Dec 4 12:03:09 2009
;; MSG SIZE rcvd: 100
; <<>> DiG 9.6.1-P1 <<>> foo.mydomain.example
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 53757
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;foo.mydomain.example. IN A
;; AUTHORITY SECTION:
mydomain.example. 604800 IN SOA ns.mydomain.example. root.mydomain.example. 9 604800 86400 2419200 604800
;; Query time: 1 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Fri Dec 4 12:03:09 2009
;; MSG SIZE rcvd: 100