my old bind (probably 6! on Freebsd 4.10) works like a charm. I change the serial, reload and ping, and the new change shows up.
not with bind9.
I have generated rndc.key, included in the named.conf, got it working with one test domain once. now I up the serial, no error message, but the ip wont change. I want to make sure it works fine before I reboot as my main DNS server.
I edit the db files from old bind.
ns1.yy.net is the name of the machine, but it is the "official" DNS. yet, it worked once yesterday and now all my machines know what is xx.com, but it is just that I cannot update it with a new ip.
after I start named, the log says
so no errors...yet the domain wont resolve.
maybe it is listening on the wrong channel? only local IP? then how can it did work yesterday?
the named.conf I did not change anything, except that one line about removing it, unless it was only for local. which I did remove.
not with bind9.
I have generated rndc.key, included in the named.conf, got it working with one test domain once. now I up the serial, no error message, but the ip wont change. I want to make sure it works fine before I reboot as my main DNS server.
I edit the db files from old bind.
Code:
$TTL 3600
@ IN SOA xx.com. hostmaster.yyy.net. (
2010041308 ; Serial
3600 ; Refresh after 1 hours
1800 ; Retry after 1 hour
604800 ; Expire after 7 days (1 week)
86400) ; Minimum TTL of 24 hours (1 day)
;
; Define the nameservers and the mail servers
;
xx.com. IN NS ns1.yy.net.
xx.com. IN NS ns2.yy.net.
; Define localhost
;
localhost.xx.com. IN A 127.0.0.1
;
; define the hosts in this zone
;
xx.com. IN A xx.x.x.108
www.xx.com. IN CNAME xx.com.
ns1.yy.net is the name of the machine, but it is the "official" DNS. yet, it worked once yesterday and now all my machines know what is xx.com, but it is just that I cannot update it with a new ip.
after I start named, the log says
Code:
Apr 17 10:17:11 queen named[67571]: starting BIND 9.6.1-P1
Apr 17 10:17:11 queen named[67571]: built with '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads'
'--disable-ipv6' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' '--without-idn' '--without-
libxml2'
Apr 17 10:17:11 queen named[67571]: command channel listening on 127.0.0.1#953
Apr 17 10:17:11 queen named[67571]: command channel listening on ::1#953
Apr 17 10:17:11 queen named[67571]: running
so no errors...yet the domain wont resolve.
maybe it is listening on the wrong channel? only local IP? then how can it did work yesterday?
the named.conf I did not change anything, except that one line about removing it, unless it was only for local. which I did remove.