- Code: Select all
options {
directory "/var/named";
};
key "rndc-key" {
algorithm hmac-md5;
secret "xxx";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "127.0.0.1" IN {
type master;
file "127.0.0.1.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "raibledesigns.home" in {
type master;
file "raibledesigns.home.zone";
allow-update { 127.0.0.1; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "192.168.0.rev";
allow-update { 127.0.0.1; };
};
And my rndc.conf has:
- Code: Select all
key "rndc-key" {
algorithm hmac-md5;
secret "xxx";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
My secrets do match. When I restart named, I get the following error and it won't load my LAN's config (raibledesigns.home.zone):
- Code: Select all
Nov 26 11:55:47 drevil named[4317]: invalid command from 127.0.0.1#32810: bad auth
Nov 26 11:55:48 drevil named[4317]: shutting down
Nov 26 11:55:48 drevil named[4317]: stopping command channel on 127.0.0.1#953
Nov 26 11:55:48 drevil named[4317]: no longer listening on 127.0.0.1#53
Nov 26 11:55:48 drevil named[4317]: no longer listening on 192.168.0.2#53
Nov 26 11:55:48 drevil named[4317]: exiting
Nov 26 09:55:48 drevil named: named shutdown succeeded
Nov 26 11:55:50 drevil named[4351]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot
Nov 26 11:55:50 drevil named[4351]: using 1 CPU
Nov 26 11:55:50 drevil named[4351]: loading configuration from '/etc/named.conf'
Nov 26 09:55:50 drevil named: named startup succeeded
Nov 26 11:55:50 drevil named[4351]: no IPv6 interfaces found
Nov 26 11:55:50 drevil named[4351]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 26 11:55:50 drevil named[4351]: listening on IPv4 interface eth0, 192.168.0.2#53
Nov 26 11:55:50 drevil named[4351]: command channel listening on 127.0.0.1#953
Nov 26 11:55:50 drevil named[4351]: running
Any ideas?
When I try to update from my OS X box, I get the following in /var/log/messages:
- Code: Select all
Nov 26 09:57:53 drevil dhcpd: if IN A foxxy.voidmain.home domain doesn't exist add 86400 IN A foxxy.
voidmain.home 192.168.0.198 add 86400 IN TXT foxxy.voidmain.home "31928ca9ec0b318d81f3dac9f14626670b
": timed out.
Nov 26 09:57:53 drevil dhcpd: DHCPREQUEST for 192.168.0.198 from 00:0a:95:f2:86:9c via eth0
Nov 26 09:57:53 drevil dhcpd: DHCPACK on 192.168.0.198 to 00:0a:95:f2:86:9c (foxxy) via eth0
Nov 26 09:57:54 drevil dhcpd: if IN A foxxy.voidmain.home domain doesn't exist add 86400 IN A foxxy.
voidmain.home 192.168.0.198 add 86400 IN TXT foxxy.voidmain.home "31928ca9ec0b318d81f3dac9f14626670b
": timed out.
Nov 26 09:57:54 drevil dhcpd: DHCPREQUEST for 192.168.0.198 from 00:0a:95:f2:86:9c (foxxy) via eth0
Nov 26 09:57:54 drevil dhcpd: DHCPACK on 192.168.0.198 to 00:0a:95:f2:86:9c (foxxy) via eth0




