My A records do not get registered dynamically but PTR records are regitered fine? I have two computers named LAPTOP(dhcp client) AND DESKTOP(10.10.10.2 and it is dhcp server). I do not know what is the problem here.... Can anyone help me, please?
dhcpd.conf :
Code:
server-identifier desktop.mreza.co.yu;
ddns-update-style interim;
ddns-domainname "mreza.co.yu";
ddns-updates on;
allow client-updates;
allow unknown-clients;
autoritative;
key dhcp-ddns {
algorithm hmac-md5;
secret "nmN/axX6WmHHPctuEgqfAg==";
}
zone mreza.co.yu. {
primary 10.10.10.2;
key dhcp-ddns;
}
zone 10.10.10.in-addr.arpa. {
primary 10.10.10.2;
key dhcp-ddns;
}
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.3 10.10.10.20;
option domain-name-servers desktop.mreza.co.yu;
option domain-name "mreza.co.yu";
option broadcast-address 10.10.10.255;
default-lease-time 600;
max-lease-time 7200;
}
named.conf :
Code:
key dhcp-ddns {
algorithm hmac-md5;
secret "nmN/axX6WmHHPctuEgqfAg==";
};
acl "mreza" { 10.10.10.0/24; 127.0.0.1;};
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
allow-query { "mreza"; };
};
controls {
inet 127.0.0.1 allow { 127.0.0.1; 10.10.10.2;} keys { dhcp-ddns;};
};
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "mreza.co.yu" IN {
type master;
file "dyn/mreza.zone";
allow-update { key dhcp-ddns; };
};
zone "10.10.10.in-addr.arpa" in {
type master;
file "dyn/10.10.10.mreza.zone";
allow-update { key dhcp-ddns; };
};
include "/etc/named.conf.include";
mreza.zone :
Code:
$TTL 172800
mreza.co.yu. IN SOA desktop.mreza.co.yu. root.mreza.co.yu. (
2006042328 ; Serial
86400 ; Refresh
7200 ; Retry
604800 ; Expire
172800) ; Minimum TTL
IN NS desktop.mreza.co.yu.
desktop A 10.10.10.2