DHCPv6 dynamic dns RFC2136 broken?
-
Hi,
I'm on 2.5.2 and I just setup a downstream network to use DHCPv6 for the clients plus dynamic DNS update.
As a result every DHCPv6 address was written into my subdomain demo.junicast.de.
A day after I set this up this just stopped working. I tried kind of everything from deleting the dyndns config from my DHCPv6 config and doing it from scratch.The problem remains. Since then I also spent some time trying to find out what goes wrong here. Actually all the clients in this network (currently 60, all OpenWrt) receive a valid DHCPv6 address and along with it a prefix via Prefix Delegation.
The pfSense just stopped sending out DNS Update queries to the DNS server I can see zero traffic to the destination DNS server ip. I tried manually to connect to the DNS server from command line, which works flawlessly.
Out of desperation I updated to 2.6 testing environment, same situation. I can change back any time though. Anybody got an idea? Can I set the DHCP server to debug output somehow?
Please see those screenshots.
-
Please show the
/var/dhcpd/etc/dhcpdv6.conf
and/var/dhcpd/var/db/dhcpd6.leases
for checking -
@viktor_g
This is the config:option domain-name "demo.junicast.de"; option ldap-server code 95 = text; option domain-search-list code 119 = text; default-lease-time 7200; max-lease-time 86400; log-facility local7; one-lease-per-client true; deny duplicates; ping-check true; update-conflict-detection false; authoritative; subnet6 2001:470:1f15:bfe::/64 { range6 2001:470:1f15:bfe::2000 2001:470:1f15:bfe::3000; ddns-domainname "demo.junicast.de"; allow client-updates; #option dhcp6.name-servers --; prefix6 2001:470:7e68:4000:: 2001:470:7e68:7f00:: /62; } key "junicastgateway" { algorithm hmac-sha512; secret jfToHAGW16**obfuscated**253ybflSmcasdfasdfasdfasdfsadfazV+A==; } zone demo.junicast.de. { primary6 2a00:1234:1234:2::121; key "junicastgateway"; } subnet6 2001:470:7e68::/64 { range6 2001:470:7e68::1000 2001:470:7e68::4000; do-forward-updates false; #option dhcp6.name-servers --; prefix6 2001:470:7e68:2000:: 2001:470:7e68:2f00:: /56; } ddns-update-style interim; update-static-leases on;
and this is the admittedly quite long leases file:
[2.6.0-DEVELOPMENT][root@gateway.demo.junicast.de]/root: cat /var/dhcpd/var/db/dhcpd6.leases # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.4.2-P1 # authoring-byte-order entry is generated, DO NOT DELETE authoring-byte-order little-endian; server-duid "\000\001\000\001(\337\205\230\372\015\273\234\245q"; ia-na "\001\000\000\000\000\003\000\001\316\206\366\015s\265" { cltt 5 2021/09/24 06:25:37; } ia-na "\001\000\000\000\000\003\000\001\306\325u^)9" { cltt 5 2021/09/24 06:20:58; } ia-na "\001\000\000\000\000\003\000\001\352\222\2311bU" { cltt 5 2021/09/24 06:32:03; } ia-na "\001\000\000\000\000\003\000\001\366D\236\362\201p" { cltt 5 2021/09/24 06:24:01; } ia-na "\001\000\000\000\000\003\000\001\366\243R,\271G" { cltt 5 2021/09/24 06:31:38; } ia-na "\001\000\000\000\000\003\000\001\256\343\250\355K\356" { cltt 5 2021/09/24 06:32:13; } ia-na "\001\000\000\000\000\003\000\001\312\330\217e\263\335" { cltt 5 2021/09/24 06:33:22; } ia-na "\001\000\000\000\000\003\000\001\362w\355~\010\303" { cltt 5 2021/09/24 06:33:05; } ia-na "\001\000\000\000\000\003\000\001\036\001\244\215H?" { cltt 5 2021/09/24 06:31:33; } ia-na "\001\000\000\000\000\003\000\001\032\035\267?f\030" { cltt 5 2021/09/24 06:46:39; } ia-na "\001\000\000\000\000\003\000\001\0020\323c\374\347" { cltt 5 2021/09/24 06:33:18; } ia-na "\001\000\000\000\000\003\000\001\032I\255\034\036z" { cltt 5 2021/09/24 06:31:31; } ia-na "\001\000\000\000\000\003\000\001\376\315\355\007|\177" { cltt 5 2021/09/24 06:40:40; } ia-na "\001\000\000\000\000\003\000\0012\020s_\321\267" { cltt 5 2021/09/24 06:18:21; } ia-na "\001\000\000\000\000\003\000\001\366\255\356\250\337M" { cltt 5 2021/09/24 06:32:54; } ia-na "\001\000\000\000\000\003\000\001\016^\305hO\007" { cltt 5 2021/09/24 06:32:53; } ia-na "\001\000\000\000\000\003\000\001B ^\2458N" { cltt 5 2021/09/24 06:32:31; } ia-na "\001\000\000\000\000\003\000\001\022\257J`\005h" { cltt 5 2021/09/24 06:32:05; } ia-na "\001\000\000\000\000\003\000\001\016_\331\216\031\234" { cltt 5 2021/09/24 06:32:17; } ia-na "\001\000\000\000\000\003\000\001^\011U\021\372T" { cltt 5 2021/09/24 06:31:12; } ia-na "\001\000\000\000\000\003\000\001b\013M\025\242\260" { cltt 5 2021/09/24 06:50:37; } ia-na "\001\000\000\000\000\003\000\001RP1\027\222\025" { cltt 5 2021/09/24 06:31:59; } ia-na "\001\000\000\000\000\003\000\001\022\251,\3655\016" { cltt 5 2021/09/24 06:39:39; } ia-na "\001\000\000\000\000\003\000\001N-]\332\0217" { cltt 5 2021/09/24 06:32:09; } ia-na "\001\000\000\000\000\003\000\001z\017:\023Y\316" { cltt 5 2021/09/24 06:21:07; } ia-na "\001\000\000\000\000\003\000\001RMDU\256!" { cltt 5 2021/09/24 06:32:26; } ia-na "\001\000\000\000\000\003\000\001\"\365'\012\016L" { cltt 5 2021/09/24 06:24:29; } ia-na "\001\000\000\000\000\003\000\001.\302\013\231b\002" { cltt 5 2021/09/24 06:18:09; } ia-na "\001\000\000\000\000\003\000\001V\025\213\272\377A" { cltt 5 2021/09/24 06:32:51; } ia-na "\001\000\000\000\000\003\000\001r\022S\202\253L" { cltt 5 2021/09/24 06:30:54; } ia-na "\001\000\000\000\000\003\000\001\036\275\034\347\232\347" { cltt 5 2021/09/24 06:23:39; } ia-na "\001\000\000\000\000\003\000\001&\3111vi\275" { cltt 5 2021/09/24 06:31:27; } ia-na "\001\000\000\000\000\003\000\001\036\357\015\301\037%" { cltt 5 2021/09/24 06:29:14; } ia-na "\001\000\000\000\000\003\000\0016n\236\327E," { cltt 5 2021/09/24 06:40:53; } ia-na "\001\000\000\000\000\003\000\001\226\005\012\315\230N" { cltt 5 2021/09/24 06:31:30; } ia-na "\001\000\000\000\000\003\000\001\2069O%\326\001" { cltt 5 2021/09/24 06:32:52; } ia-na "\001\000\000\000\000\003\000\001\202]\016l\241_" { cltt 5 2021/09/24 06:32:53; } ia-na "\001\000\000\000\000\003\000\001r\202\001\274'o" { cltt 5 2021/09/24 06:22:57; } ia-na "\001\000\000\000\000\003\000\001J\214\301(\360^" { cltt 5 2021/09/24 06:31:08; } ia-na "\001\000\000\000\000\003\000\001\256\013_3A\346" { cltt 5 2021/09/24 06:32:01; } ia-na "\001\000\000\000\000\003\000\001\312\004=\031o\011" { cltt 5 2021/09/24 06:32:33; } ia-na "\001\000\000\000\000\003\000\001V_\325\372\243\245" { cltt 5 2021/09/24 06:30:01; } ia-na "\001\000\000\000\000\003\000\001zt\215\324\012\032" { cltt 5 2021/09/24 06:31:23; } ia-na "\001\000\000\000\000\003\000\001v\2616[\350," { cltt 5 2021/09/24 06:33:15; } ia-na "\001\000\000\000\000\003\000\001\226Mq\302\215\000" { cltt 5 2021/09/24 06:29:11; } ia-na "\001\000\000\000\000\003\000\001F\331\3146\257\267" { cltt 5 2021/09/24 06:24:07; } ia-na "\001\000\000\000\000\003\000\001\206ca\312\342\274" { cltt 5 2021/09/24 06:31:13; } ia-na "\001\000\000\000\000\003\000\001J\322o\333\342\261" { cltt 5 2021/09/24 06:32:33; } ia-na "\001\000\000\000\000\003\000\001\352\022\0021G5" { cltt 5 2021/09/24 06:31:48; } ia-na "\001\000\000\000\000\003\000\001\212[\322h?t" { cltt 5 2021/09/24 06:31:56; } ia-na "\001\000\000\000\000\003\000\001\246v\207I\013)" { cltt 5 2021/09/24 06:31:16; } ia-na "\001\000\000\000\000\003\000\001\216\343\010,Yk" { cltt 5 2021/09/24 06:24:03; } ia-na "\001\000\000\000\000\003\000\001\262]~\212-\210" { cltt 5 2021/09/24 06:24:35; } ia-na "\001\000\000\000\000\003\000\001n\273\272\370\227\204" { cltt 5 2021/09/24 06:32:52; } ia-na "\001\000\000\000\000\003\000\001\242A\347\320\260\344" { cltt 5 2021/09/24 06:31:43; } ia-na "\001\000\000\000\000\003\000\001\304n\037\352\300\326" { cltt 5 2021/09/24 14:03:42; iaaddr 2001:470:1f15:bfe::25c4 { binding state active; preferred-life 4500; max-life 7200; ends 5 2021/09/24 16:03:42; } } ia-na "\001\000\000\000\000\003\000\001\262\243\215\014\344\362" { cltt 5 2021/09/24 06:32:20; } ia-na "\001\000\000\000\000\003\000\001\262\261O\236\362l" { cltt 5 2021/09/24 06:30:52; } ia-na "\001\000\000\000\000\003\000\001\242\254\230\310\356\270" { cltt 5 2021/09/24 06:32:14; } ia-na "\001\000\000\000\000\003\000\001\256\310\226\203\035?" { cltt 5 2021/09/24 06:31:49; } ia-na "\001\000\000\000\000\003\000\001\356\223$l/-" { cltt 5 2021/09/24 06:34:02; } ia-pd "\001\000\000\000\000\003\000\001\316\206\366\015s\265" { cltt 5 2021/09/24 06:25:37; } ia-pd "\001\000\000\000\000\003\000\001\306\325u^)9" { cltt 5 2021/09/24 06:20:58; } ia-pd "\001\000\000\000\000\003\000\001\352\222\2311bU" { cltt 5 2021/09/24 06:32:03; } ia-pd "\001\000\000\000\000\003\000\001\366D\236\362\201p" { cltt 5 2021/09/24 06:24:01; } ia-pd "\001\000\000\000\000\003\000\001\366\243R,\271G" { cltt 5 2021/09/24 06:31:38; } ia-pd "\001\000\000\000\000\003\000\001\256\343\250\355K\356" { cltt 5 2021/09/24 06:32:13; } ia-pd "\001\000\000\000\000\003\000\001\312\330\217e\263\335" { cltt 5 2021/09/24 06:33:22; } ia-pd "\001\000\000\000\000\003\000\001\362w\355~\010\303" { cltt 5 2021/09/24 06:33:05; } ia-pd "\001\000\000\000\000\003\000\001\036\001\244\215H?" { cltt 5 2021/09/24 06:31:33; } ia-pd "\001\000\000\000\000\003\000\001\032\035\267?f\030" { cltt 5 2021/09/24 06:46:39; } ia-pd "\001\000\000\000\000\003\000\001\0020\323c\374\347" { cltt 5 2021/09/24 06:33:18; } ia-pd "\001\000\000\000\000\003\000\001\032I\255\034\036z" { cltt 5 2021/09/24 06:31:31; } ia-pd "\001\000\000\000\000\003\000\001\376\315\355\007|\177" { cltt 5 2021/09/24 06:40:40; } ia-pd "\001\000\000\000\000\003\000\0012\020s_\321\267" { cltt 5 2021/09/24 06:18:21; } ia-pd "\001\000\000\000\000\003\000\001\366\255\356\250\337M" { cltt 5 2021/09/24 06:32:54; } ia-pd "\001\000\000\000\000\003\000\001\016^\305hO\007" { cltt 5 2021/09/24 06:32:53; } ia-pd "\001\000\000\000\000\003\000\001B ^\2458N" { cltt 5 2021/09/24 06:32:31; } ia-pd "\001\000\000\000\000\003\000\001\022\257J`\005h" { cltt 5 2021/09/24 06:32:05; } ia-pd "\001\000\000\000\000\003\000\001\016_\331\216\031\234" { cltt 5 2021/09/24 06:32:17; } ia-pd "\001\000\000\000\000\003\000\001^\011U\021\372T" { cltt 5 2021/09/24 06:31:12; } ia-pd "\001\000\000\000\000\003\000\001b\013M\025\242\260" { cltt 5 2021/09/24 06:50:37; } ia-pd "\001\000\000\000\000\003\000\001RP1\027\222\025" { cltt 5 2021/09/24 06:31:59; } ia-pd "\001\000\000\000\000\003\000\001\022\251,\3655\016" { cltt 5 2021/09/24 06:39:39; } ia-pd "\001\000\000\000\000\003\000\001N-]\332\0217" { cltt 5 2021/09/24 06:32:09; } ia-pd "\001\000\000\000\000\003\000\001z\017:\023Y\316" { cltt 5 2021/09/24 06:21:07; } ia-pd "\001\000\000\000\000\003\000\001RMDU\256!" { cltt 5 2021/09/24 06:32:26; } ia-pd "\001\000\000\000\000\003\000\001\"\365'\012\016L" { cltt 5 2021/09/24 06:24:29; } ia-pd "\001\000\000\000\000\003\000\001.\302\013\231b\002" { cltt 5 2021/09/24 06:18:09; } ia-pd "\001\000\000\000\000\003\000\001V\025\213\272\377A" { cltt 5 2021/09/24 06:32:51; } ia-pd "\001\000\000\000\000\003\000\001r\022S\202\253L" { cltt 5 2021/09/24 06:30:54; } ia-pd "\001\000\000\000\000\003\000\001\036\275\034\347\232\347" { cltt 5 2021/09/24 06:23:39; } ia-pd "\001\000\000\000\000\003\000\001&\3111vi\275" { cltt 5 2021/09/24 06:31:27; } ia-pd "\001\000\000\000\000\003\000\001\036\357\015\301\037%" { cltt 5 2021/09/24 06:29:14; } ia-pd "\001\000\000\000\000\003\000\0016n\236\327E," { cltt 5 2021/09/24 06:40:53; } ia-pd "\001\000\000\000\000\003\000\001\226\005\012\315\230N" { cltt 5 2021/09/24 06:31:30; } ia-pd "\001\000\000\000\000\003\000\001\2069O%\326\001" { cltt 5 2021/09/24 06:32:52; } ia-pd "\001\000\000\000\000\003\000\001\202]\016l\241_" { cltt 5 2021/09/24 06:32:53; } ia-pd "\001\000\000\000\000\003\000\001r\202\001\274'o" { cltt 5 2021/09/24 06:22:57; } ia-pd "\001\000\000\000\000\003\000\001J\214\301(\360^" { cltt 5 2021/09/24 06:31:08; } ia-pd "\001\000\000\000\000\003\000\001\256\013_3A\346" { cltt 5 2021/09/24 06:32:01; } ia-pd "\001\000\000\000\000\003\000\001\312\004=\031o\011" { cltt 5 2021/09/24 06:32:33; } ia-pd "\001\000\000\000\000\003\000\001V_\325\372\243\245" { cltt 5 2021/09/24 06:30:01; } ia-pd "\001\000\000\000\000\003\000\001zt\215\324\012\032" { cltt 5 2021/09/24 06:31:23; } ia-pd "\001\000\000\000\000\003\000\001v\2616[\350," { cltt 5 2021/09/24 06:33:15; } ia-pd "\001\000\000\000\000\003\000\001\226Mq\302\215\000" { cltt 5 2021/09/24 06:29:11; } ia-pd "\001\000\000\000\000\003\000\001F\331\3146\257\267" { cltt 5 2021/09/24 06:24:07; } ia-pd "\001\000\000\000\000\003\000\001\206ca\312\342\274" { cltt 5 2021/09/24 06:31:13; } ia-pd "\001\000\000\000\000\003\000\001J\322o\333\342\261" { cltt 5 2021/09/24 06:32:33; } ia-pd "\001\000\000\000\000\003\000\001\352\022\0021G5" { cltt 5 2021/09/24 06:31:48; } ia-pd "\001\000\000\000\000\003\000\001\212[\322h?t" { cltt 5 2021/09/24 06:31:56; } ia-pd "\001\000\000\000\000\003\000\001\246v\207I\013)" { cltt 5 2021/09/24 06:31:16; } ia-pd "\001\000\000\000\000\003\000\001\216\343\010,Yk" { cltt 5 2021/09/24 06:24:03; } ia-pd "\001\000\000\000\000\003\000\001\262]~\212-\210" { cltt 5 2021/09/24 06:24:35; } ia-pd "\001\000\000\000\000\003\000\001n\273\272\370\227\204" { cltt 5 2021/09/24 06:32:52; } ia-pd "\001\000\000\000\000\003\000\001\242A\347\320\260\344" { cltt 5 2021/09/24 06:31:43; } ia-pd "\001\000\000\000\000\003\000\001\304n\037\352\300\326" { cltt 5 2021/09/24 14:03:42; iaprefix 2001:470:7e68:7efc::/62 { binding state active; preferred-life 4500; max-life 7200; ends 5 2021/09/24 16:03:42; } } ia-pd "\001\000\000\000\000\003\000\001\262\243\215\014\344\362" { cltt 5 2021/09/24 06:32:20; } ia-pd "\001\000\000\000\000\003\000\001\262\261O\236\362l" { cltt 5 2021/09/24 06:30:52; } ia-pd "\001\000\000\000\000\003\000\001\242\254\230\310\356\270" { cltt 5 2021/09/24 06:32:14; } ia-pd "\001\000\000\000\000\003\000\001\256\310\226\203\035?" { cltt 5 2021/09/24 06:31:49; } ia-pd "\001\000\000\000\000\003\000\001\356\223$l/-" { cltt 5 2021/09/24 06:34:02; } ia-na "\001\000\000\000\000\003\000\001\304n\037\352\300\326" { cltt 5 2021/09/24 14:41:13; iaaddr 2001:470:1f15:bfe::25c4 { binding state active; preferred-life 4500; max-life 7200; ends 5 2021/09/24 16:41:13; } } ia-pd "\001\000\000\000\000\003\000\001\304n\037\352\300\326" { cltt 5 2021/09/24 14:41:13; iaprefix 2001:470:7e68:7efc::/62 { binding state active; preferred-life 4500; max-life 7200; ends 5 2021/09/24 16:41:13; } }
-
I reinstalled 2.5.2 and imported my old 2.5 config but the problem persists.
I'm running out of ideas. -
Could you provide client log also?
It's better to create a bugreport:
https://docs.netgate.com/pfsense/en/latest/development/bug-reports.html