[Samba] DDNS with Bind
Rowland Penny
rpenny at samba.org
Mon Dec 26 19:33:08 UTC 2016
On Mon, 26 Dec 2016 20:23:53 +0100
Stefan Kania via samba <samba at lists.samba.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Am 26.12.2016 um 18:24 schrieb Stefan Kania via samba:
> >
> > Hello, I try to set up a ADDC with bind9 and dhcp-Server for
> > dynamic DNS-updates. I followd the wiki:
> > https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_
> wi
> >
> >
> th_BIND9
> >
> > My problem is, that the PTR Record will not be updated, because
> > the script is using the wrong reverse-zone: ---------------------
> > Dez 26 17:30:05 addc-01 named[512]: client
> > 192.168.56.200#60564/key dhcpduser\@EXAMPLE.NET: updating zone
> > '168.192.IN-ADDR.ARPA/IN': update failed: not authoritative for
> > update zone (NOTAUTH) Dez 26 17:30:05 addc-01 logger[989]: DHCP-DNS
> > Update failed: 02 Dez 26 17:30:05 addc-01 dhcpd[803]: execute:
> > /etc/dhcp/bin/dhcp-dyndns.sh exit status 512
>
>
> If I ran the script by hand:
> /etc/dhcp/bin/dhcp-dyndns.sh add 192.168.56.210 08:00:27:13:99:73
> chcp-c 1
>
> Everything is working fine:
> - ----------------
> Sending update to 127.0.0.1#53
> Outgoing update query:
> ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 9096
> ;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 2, ADDITIONAL: 1
> ;; UPDATE SECTION:
> 210.56.168.192.in-addr.arpa. 0 ANY PTR
> 210.56.168.192.in-addr.arpa. 3600 IN PTR chcp-c1.example.net.
>
> - ----------------
> root at addc-01:~# host 192.168.56.210
> 210.56.168.192.in-addr.arpa domain name pointer chcp-c1.example.net.
>
> Stefan
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iEYEARECAAYFAlhhbkkACgkQ2JOGcNAHDTbnQQCfVftcnUKErgf01/3KDAW9tM26
> rEIAn3RYPH3T5iYpE0YX+E/Pi3p3y91i
> =HAjj
> -----END PGP SIGNATURE-----
>
AH ;-)
What OS is this ?
Who does dhcpd run as ?
Rowland
More information about the samba
mailing list