acid_kewpie |
11-15-2002 01:14 PM |
getting bind to update dynamically
like i said in someone elses thread, i'm stuck trying to get dhcpd to update named automatically. i've got further on, and i can now use nsupdate to dynamically update the server, and that works fine. But when it comes to starting a test dhcp interface, i get one (used to be 3 but now i got it down to just the one...)
Quote:
Nov 15 18:51:43 domain dhcpd: if IN A test.domain.net domain doesn't exist add 43200 IN A test.domain.net 192.168.0.8 add 43200 IN TXT test.domain.net "31123780b118194dd5d23faf053a9acbde": timed out.
|
As well as this error message not actually making sense in english, i can't find any reference to it on google. it clearly states i need to add a record of some sort, but doesn't say where, and very confused on the "what" part as well...
in addition, my named.conf:
Code:
logging {
channel default_syslog {
syslog daemon;
severity debug 3;
};
};
options {
directory "/var/named";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
allow-update { localhost; 192.168.0/24;};
};
zone "domain.net" {
type master;
file "domain.net";
allow-update { 192.168.0/24; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "192";
allow-update { 192.168.0/24; };
};
and my zone file, complete with the changes that nsupdate successfully made....
Code:
$ORIGIN .
$TTL 259200 ; 3 days
domain.net IN SOA ns.domain.net. root.domain.net. (
4 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
2419200 ; expire (4 weeks)
86400 ; minimum (1 day)
)
NS ns.domain.net.
A 80.4.78.232
MX 10 mail.domain.net.
$ORIGIN thirtythreeandathird.net.
acidrip CNAME domain.net.
mail CNAME domain.net.
mp3 CNAME domain.net.
ns CNAME domain.net.
simon A 80.4.78.232
TXT "Router, Mail server, DNS server, everything server"
$TTL 3600 ; 1 hour
test A 192.168.0.9
$TTL 43200 ; 12 hours
TXT "test.domain.net."
$TTL 259200 ; 3 days
trevor A 192.168.0.2
www CNAME domain.net.
|