← Back to team overview

ubuntuforums-unanswered team mailing list archive

[Question #77099]: Bind configuration problem

 

New question #77099 on Ubuntu:
https://answers.edge.launchpad.net/ubuntu/+question/77099

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.1.10#53(192.168.1.10)
;; 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.gossage.ca. hostmaster.gossage.ca. (
			2009071500
			10800
			3600
			604800
			38400 )
gossage.ca.	IN	NS	192.168.1.10.
aristotle.gossage.ca.	IN	A	192.168.1.10
cronus.gossage.ca.	24H	IN	A	192.168.1.11
gossage.ca.	24H	IN	MX	10 aristotle.gossage.ca.

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

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.