Hi,
Need some help with DDNS on IPv6.
I have a small network with DHCP server hosted on a windows machine and a dns server hosted on linux. Most of the clients are linux and there is no Domain controller for this network. DHCP server is also not part of any domain
My aim is to setup DDNS updates for both IPv4 (A) and IPv6(AAAA). Linux client hostname is given as 'testhost'.
For ipv4, i have created a reservation for linux client and provided option 15 (Domain name) as 'testdomain.com' and option 06 (dns server) as linux dns server IP
DNS server has a zone created for 'testdomain.com' and it is configured to accept updates from DHCP server.
When the linux client goes through dhcpv4 process, client sends hostname(testhost) in discover message and windows servers assigns an IP, triggers DDNS updates to DNS server for A and PTR records with FQDN as "testhost.testdomain.com"
So it kind of works for IPv4 but i am stuck in IPv6
In DHCPv6 process, linux client sends FQDN option (39) with S flag set and FQDN as 'testhost'. As per RFC, if the FQDN is partially filled, servers SHOULD respond with complete FQDN.
But what i do not understand is that, how the FQDN is formed in DHCPv6. Unlink DHCPv4, DHCPv6 does not have "domain name" option. DHCPv6 does have "domain search list" option but i am not sure how/if this will be used in forming FQDN. In my case, windows DHCP server responds with same FQDN value ('testhost') as sent in solicit message.
And also, in my case, windows does not trigger DDNS update for AAAA record but it does trigger an update for PTR record with IPv6 IP mapped to partial FQDN ('testhost' in this case)