Bind configuration problem
I have a Bind configuration problem accessing a Bind 9.4 server on Ubuntu 8.04 from both a Ubuntu 9.04 client and from the machine hosting the DNS server.
If I run the following command
dig cronus
I get the following error
jonathan@cronus:~$ dig cronus
; <<>> DiG 9.5.1-P2 <<>> cronus
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15786
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;cronus. IN A
;; Query time: 620 msec
;; SERVER: 192.168.
;; WHEN: Wed Jul 15 15:11:29 2009
;; MSG SIZE rcvd: 24
The system does not properly resolve the short hostname and returns a NXDOMAIN error. If I enter
dig cronus.gossage.ca
It works properly.
Here is the zone file for gossage.ca
$ttl 38400
gossage.ca. IN SOA aristotle.
2009071500
10800
3600
604800
38400 )
gossage.ca. IN NS 192.168.1.10.
aristotle.
cronus.gossage.ca. 24H IN A 192.168.1.11
gossage.ca. 24H IN MX 10 aristotle.
and here is the /etc/resolv.conf file on the client
nameserver 192.168.1.10
domain gossage.ca
Can anyone spot what I have done incorrectly?
Thanks
Jonathan Gossage
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu bind Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jonathan Gossage for more information if necessary.