isc-dhcp-server: dhcp atualiza dinamicamente os registros dns

2

Estou tentando atualizar dinamicamente os registros DNS quando o DHCP fornece endereços. mas mesmo assim eu especifiquei allow-update com uma chave em /etc/bind/named.conf.local e especifiquei a mesma chave em /etc/dhcp/dhcpd.conf. o acesso é negado e acaba. Eu também tentei definir um endereço IP em permitir atualização em vez disso, mas isso não parece funcionar também. há algo que eu tenha esquecido de adicionar aqui?

tail -f / var / log / syslog

 client 127.0.0.1#53398: update 'dirks.crtn/IN' denied due to allow-query
    dhcpd: unable to add forward map from sysadmin.dirks.crtn. to 192.168.56.102: timed out
    dhcpd: DHCPREQUEST for 192.168.56.102 from 08:00:27:25:73:69 (sysadmin) via eth1
    dhcpd: DHCPACK on 192.168.56.102 to 08:00:27:25:73:69 (sysadmin) via eth1

as configurações em (/etc/dhcp/dhcpd.conf)

ddns-updates on;
ddns-update-style interim;
update-static-leases on;
authoritative;

key "update-key" {
algorithm hmac-md5;
secret "un7T4dJk6yjR6NS5xZql8w==";
};

allow unknown-clients;
use-host-decl-names on;
default-lease-time 1814400; #21 days
max-lease-time 1814400; #21 days
log-facility local7;


zone dirks.crtn. {
primary localhost;
key update-key;
}

zone 56.168.192.in-addr.arpa. {
primary localhost;
key update-key;
}

subnet 192.168.56.0 netmask 255.255.255.0 {
range 192.168.56.3 192.168.56.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.56.2;
option domain-name "dirks.crtn";
ddns-domainname "dirks.crtn.";
ddns-rev-domainname "in-addr.arpa.";
}

/etc/bind/named.conf.local

key "update-key" {
algorithm hmac-md5;
secret "un7T4dJk6yjR6NS5xZql8w==";
};

zone "dirks.crtn" {
type master;
file "/etc/bind/dirks.crtn.db";
allow-update { key update-key; };
};

zone "56.168.192.in-addr.arpa {
type master;
file "/etc/bind/rev.56.168.192.in-addr.arpa";
allow-update { key update-key; };
};

Agradeço qualquer resposta :)

    
por Madde 17.04.2015 / 11:49

0 respostas