problem mezi DHCP a DDNS (delsi)
David Hruska
hruskad na ctkrepro.cz
Pondělí Prosinec 15 07:50:05 CET 2003
Mam problem dynamickou upravou DNS. Pouzima BIND 9.2.2 a ISP DHCP 3.0.1 Kazdy zvlast pracuje dobre, ale kdyz DHCP prideli IP adresu BIND se o tom nedozvi Chybova hlaska je vzdy stejna
Dec 14 09:32:12 linux dhcpd: Unable to add forward map from picus.diablo.cz to 172.20.162.250: timed out
jednu chvilimi to fungovalo, ale experimentoval jsem dal a pak uz jsem to nebyl schopen vratit zpet. prikladam i konfiguraci DHCP A BINDu
DHCP
option domain-name "diablo.cz";
option domain-name-servers linux.diablo.cz;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style interim; ddns-updates on;
ddns-domainname "diablo.cz";
authoritative;
log-facility local7;
subnet 172.20.162.0 netmask 255.255.255.0 {
range 172.20.162.100 172.20.162.250;
option domain-name-servers linux.diablo.cz;
option domain-name "diablo.cz";
option routers 172.20.162.5;
option broadcast-address 172.20.162.255;
default-lease-time 60;
max-lease-time 7200;
zone diablo.cz. {
primary 127.0.0.1;
}
zone 172.20.162.in-addr.arpa. {
primary 127.0.0.1;
}
allow unknown-clients;
}
BIND
options {
directory "/var/lib/named";
cleaning-interval 120;
statistics-interval 0;
notify no;
};
logging {
channel update_debug {
file "/var/log/update-debug.log";
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};
channel security_info {
file "/var/log/named-auth.info";
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
category update {
update_debug;
};
category security {
security_info;
};
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "." in {
type hint;
file "root.hint";
};
# You can insert further zone records for your own domains below.
zone "diablo.cz" {
type master;
file "diablo.cz.hosts";
allow-update {
127.0.0.1;
};
};
zone "162.20.172.in-addr.arpa" {
type master;
file "172.20.162.rev";
allow-update { 127.0.0.1; };
};
Další informace o konferenci Linux