[Samba] bind9 and isc-dhcp-Server for dynamic DNS-updates Error
Siovel Rodríguez Morales
siovel at softel.cu
Sat Oct 7 21:51:27 UTC 2017
This is my named.conf
options {
directory "/var/cache/bind";
notify no;
empty-zones-enable no;
auth-nxdomain yes;
listen-on-v6 { none; };
forwarders { 192.168.10.3; 10.0.0.3; };
allow-query { 127.0.0.1/32; 192.168.16.0/24; };
allow-recursion { 127.0.0.1/32; 192.168.16.0/24; };
tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";
};
I remove the comment sign '#'
NSUPDFLAGS="-d"
But the logs are the same:
Oct 7 17:44:38 samba467 dhcpd: DHCPREQUEST for 192.168.16.38 from 08:00:27:e7:0a:66 (omtest) via eth0
Oct 7 17:44:38 samba467 dhcpd: DHCPACK on 192.168.16.38 to 08:00:27:e7:0a:66 (omtest) via eth0
Oct 7 17:44:55 samba467 dhcpd: Commit: IP: 192.168.16.37 DHCID: 1:0:c:29:e5:43:bf Name: ubuntu
Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[0] = /etc/dhcp/bin/dhcp-dyndns.sh
Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[1] = add
Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[2] = 192.168.16.37
Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[3] = 1:0:c:29:e5:43:bf
Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[4] = ubuntu
Oct 7 17:44:55 samba467 dhcpd: execute: /etc/dhcp/bin/dhcp-dyndns.sh exit status 256
----- Mensaje original -----
De: "samba" <samba at lists.samba.org>
Para: "samba" <samba at lists.samba.org>
Enviados: Sábado, 7 de Octubre 2017 17:30:54
Asunto: Re: [Samba] bind9 and isc-dhcp-Server for dynamic DNS-updates Error
On Sat, 7 Oct 2017 16:55:50 -0400 (CDT)
Siovel Rodríguez Morales <siovel at softel.cu> wrote:
> Hello Rolawnd, I followed the wikipage exactly. Bind9 is installed on
> the Samba DC. The Linux-Client should be a member of the Active
> Directory-domain?
>
It works for printers and I haven't yet found a way to join them to a
domain ;-)
It should work like a normal DHCP server, but it should also update the
Samba AD records.
Two things, can you post your named.conf files and can you find this
line in the /etc/dhcp/bin/dhcp-dyndns.sh :
#NSUPDFLAGS="-d"
remove the comment sign '#' and try again.
You should get a lot more info in the logs.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list