Hi,
This is my dhcpd.conf
Code:
ddns-updates on;
ddns-update-style interim;
ddns-domainname "xxx.lan.";
ddns-rev-domainname "2.168.192.in-addr.arpa.";
...
zone xxx.lan. {
primary 127.0.0.1;
key dhcpkey;
}
zone 2.168.192.in-addr.arpa. {
primary 127.0.0.1;
key dhcpkey;
}
This is my named.conf:
Code:
zone "xxx.lan" {
type master;
file "xxx-lan/xxx.zone";
allow-update { key dhcpkey; 127.0.0.1; };
};
zone "2.168.192.in-addr.arpa" {
type master;
file "xxx-lan/2.168.192.zone";
allow-update { key dhcpkey; 127.0.0.1; };
};
named-checkconf and named-checkzone like it.
now in xxx.zone i'm having no problem:
Code:
...
$TTL 3600 ; 1 hour
Laptop A 192.168.2.103
...
in 2.168.192.zone the result is this one:
Code:
$ORIGIN .
$TTL 86400 ; 1 day
2.168.192.in-addr.arpa IN SOA minnie.xxx.lan. hidden.hide.com. (
201112194 ; serial
7200 ; refresh (2 hours)
300 ; retry (5 minutes)
604800 ; expire (1 week)
60 ; minimum (1 minute)
)
NS minnie.xxx.lan.
$ORIGIN 2.168.192.in-addr.arpa.
$TTL 3600 ; 1 hour
103.2.168.192 PTR Laptop.xxx.lan.
$TTL 86400 ; 1 day
5 PTR minnie.xxx.lan.
Wich for 103.2.168.192 is obviusly wrong.
The funny thing is that it used to work, any idea ?
Thank you.