Configure DHCP to update IPv6 DNS records

forum.1 at roell.co forum.1 at roell.co
Fri Feb 13 22:26:51 UTC 2026


hello everyone,

i am currently adapting the IPv4 solution described in the samba wiki
(https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records)
to IPv6.

the planned solution should support the following:

- dynamic IPv6 addresses from the provider
- SLAAC
- EUI-64
- dynamic updates of the bind9 DNS server (DDNS)
- debian 12 (bookworm)
- ISC DHCP 4.4.3

the IPv4 solution works as intended. however, i am still having
problems transfering the addresses [Global Unicast Addresses (GUA) or
Unique Local Addresses (ULA)] assigned by slaac to the DNS server.

so far, the host configuration in /etc/dhcp/dhcpd6.conf contains two
variants:

a) # host deb12-01-opr1c-a {
    # host-identifier option dhcp6.client-id
    #   00:04:aa:f9:66:38:6a:99:a8:fb:58:6b:9b:1e:fd:59:8b:6d;
    # fixed-address6 2001:db8:f2a1:2c:250:56ff:fea9:235;
    # ddns-hostname "deb12-01.ad.example.org"; }

b) # host deb12-01-opr1c-b {
    # hardware ethernet 00:50:56:a8:02:34;
    # fixed-address6 2001:db8:f2a1:2c:250:56ff:fea8:234;
    # ddns-hostname "deb12-01.ad.example.org"; }

if variant a) is activated (by removeing the comment) the "on commit"
section is never called. in case b) "on commit" is called, but the
value of "fixed-address6" is null.

it seems that i can not even register a static IPv6 address in DNS.

how can i proceed? background information is also welcome.

best regards
frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20260213/945042c1/attachment.htm>


More information about the dhcp-users mailing list