unbound refuses ipv6 queries after reboot
This issue first appeared when changes were made to reduce how often unbound restarts. It may have been present before, but not noticed, because unbound was restarting so often.
This issue pertains to pfsense 2.4 beta using the setting "Do not wait for a RA". After rebooting pfsense, unbound refuses ipv6 queries. This is noted with nslookup on windows and dig on windows and linux.
It's possible this problem is happening because unbound is starting before the PD process is complete.
- UnKnown can't find google.com: Query refused
C:\Users\User>dig @2001:*:*:*:215:5dff:fe5c:e21e google.com
; <<>> DiG 9.10.5 <<>> @2001:*:*:*:215:5dff:fe5c:e21e google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
>>HEADER<< opcode: QUERY, status: REFUSED, id: 16212
;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; Query time: 0 msec
;; SERVER: 2001:*:*:*:215:5dff:fe5c:e21e#53(2001:*:*:*:215:5dff:fe5c:e21e)
;; WHEN: Wed Aug 02 11:47:31 Pacific Daylight Time 2017
;; MSG SIZE rcvd: 12
After restarting unbound, nslookup and dig work properly.
#1 Updated by Daryl Morse 8 months ago
Here is a link to a post on the forum which shows the wireshark capture of the PD process:
Here is a link to a post on the forum which shows the log messages for dhcp6c and unbound during the reboot:
#2 Updated by Daryl Morse 7 months ago
This problem is also present in 2.3.4. I had not noticed it previously, because I never attempted to perform nslookup immediately after rebooting pfsense until now. I just did two reboots and noticed this problem on both attempts and in both cases, it went away after restarting unbound.