Re: name server not working
Try putting a dot after those CNAMEs
Also when you do ping, see if there is a difference between
ping mysite.local
and
ping mysite.local.
(basically all I did was add a dot)
good luck
Re: name server not working
and make sure you change your serial when you update!
I tend to use something like 20080806XX but it's up to you.
Re: name server not working
Neither of those things worked unfortunately. And I did change the serial number.
Re: name server not working
This may sound silly, but is your /etc/resolv.conf pointing to the name server you built?
Re: name server not working
Yes, it is. I can access the Internet just fine, and my host hofmann.local (which is the name server I built) resolves with no problem.
Re: name server not working
You DNS server is 192.168.123.1 right?
What does the following return...
Code:
$dig @192.168.123.1 hofmann.local
and
Code:
$dig @192.168.123.1 mysite.local
Re: name server not working
dig @192.168.123.1 hofmann.local
Code:
;; QUESTION SECTION:
;hofmann.local. IN A
;; Query time: 0 msec
;; SERVER: 192.168.123.1#53(192.168.123.1)
;; WHEN: Wed Aug 6 15:24:01 2008
;; MSG SIZE rcvd: 31
dig @192.168.123.1 mysite.local
Code:
;; QUESTION SECTION:
;mysite.local. IN A
;; Query time: 0 msec
;; SERVER: 192.168.123.1#53(192.168.123.1)
;; WHEN: Wed Aug 6 15:24:09 2008
;; MSG SIZE rcvd: 34
Re: name server not working
I can't duplicate your error with bind 9.3.4-P1. I copied your files and everything works.
dig +short mysite.local
hofmann.local.
192.168.123.1
ping mysite.local
PING hofmann.local (192.168.123.1): 56 data bytes
^C
What version of bind are you using?
Re: name server not working
rndc identifies it as version 9.4.2-P1. I installed it as part of a new installation of ubuntu 8.04.1.