James Knott wrote:
On 2022-09-26 14:49, Per Jessen wrote:
All I can say is, on 15.2, it works for me with a dhcpv6 server on the network. I'm happy to share the config. I don't know where NM stores the config information received, it's got to be there, somewhere.
Well, show me what you have.
dresden:~ # egrep -v '^#|^$' /etc/dhcpd6.conf authoritative; default-lease-time 86400; preferred-lifetime 43200; option dhcp-renewal-time 3600; option dhcp-rebinding-time 7200; allow leasequery; ddns-updates on; ddns-update-style interim; ddns-domainname "local.net."; use-host-decl-names on; update-static-leases on; update-conflict-detection false; log-facility local2; option dhcp6.name-servers 2a03:7520:4c68:1::1000; option dhcp6.info-refresh-time 21600; option dhcp6.macaddr code 193 = string; option dhcp6.leased-address code 194 = string; option dhcp6.macaddr = binary-to-ascii(16, 8, ":", suffix(option dhcp6.client-id, 6)); option dhcp6.leased-address = binary-to-ascii(16,16, ":", substring(suffix(option dhcp6.ia-na, 24),0,16)); shared-network enidan { subnet6 2a03:7520:4c68:1::/64 { ddns-rev-domainname "1.0.0.0.8.6.c.4.0.2.5.7.3.0.a.2.ip6.arpa"; #ddns-domainname "local.enidan.com"; # if we don't know the host, we create our own name. if not exists host-name { log (info, concat ("Lease for ",leased-address, " leased to ", config-option dhcp6.macaddr)); ddns-hostname = concat( "dynip-", binary-to-ascii( 10, 8, "-", suffix( leased-address, 2 ))); } pool6 { deny unknown-clients; range6 2a03:7520:4c68:1:ff99::/112; } pool6 { allow unknown-clients; range6 2a03:7520:4c68:1:ff99:ffff::/112; } } } zone local.net { primary localhost; } zone 1.0.0.0.8.6.c.4.0.2.5.7.3.0.a.2.ip6.arpa { primary localhost; } [All host entries deleted.]
However, I think I will file a bug report. This shouldn't be so difficult for something that's supposed to be automatic.
My setup is 10 years old (judging by the changelog entries), but as I mentioned, ISTR some issue with the RDNSS option. I needed to use dhcpv6 anyway, as I want to assign hostnames that way. I only use NM on laptops, but that should not matter. Of course I use ipv6 for a gazillion android devices too. -- Per Jessen, Zürich (14.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland.