Closed borisneubert closed 7 years ago
thanks, will take a closer look tomorrow! :)
Anything I can do to help with this issue?
More hours in a given day would be good :)
But seriously, the code normally tries to follow this logic:
It looks like radvd igores this, merging 2 and 3 and possibly ignoring 1.
It's not as easy as disabling unbound in forward mode, people might still want to filter through unbound, as is the case with dnsmasq.
First I think we should unwind the adding of both 2 and 3, so it's a bit clearer. Do you agree?
Digging a bit further: you have unbound set to forward mode? you have your dns set to not override the dns servers via PPP (system: general)?
reading all of this again: I think this already fixes your issue?
First I think we should unwind the adding of both 2 and 3, so it's a bit clearer.
In that case only unbound gets added...
Try this:
# opnsense-patch b5b92c1aa
Cheers, Franco
unbound is set to forward mode (DNS Query Forwarding: Enable Forwarding Mode is Checked), as before DNS set to not override the DNS servers via PPP (DNS server options: Allow DNS server list to be overridden by DHCP/PPP on WAN is NOT Checked), as before Patch b5b92c1aa is applied. OPNSense box rebooted /var/etc/nameserver_v6* still does not exist /var/etc/radvd.conf lists IPv6 address of OPNSense box only in RDNSS record: this is OK now devices configured by DHCPv6 use OPNSense box as DNS server only: this is OK now the issue is solved, many thanks!
Hi Boris,
Great, thanks. I'll add this to 17.7.3 :)
Cheers, Franco
radvd should only serve the LAN IP of the OPNsense box via RDNSS if "Enable Forwarding Mode" is turned on in "Unbound DNS: General" options and not the configured nameservers in "System: General"
"Directly send SOLICIT" on LAN interface is checked (on).
/var/etc/nameserver_v6* does not exist. radvd.conf exists with the following content:
igb1 is WAN interface. is the IPv6 prefix, is the IPv6 LAN address of the OPNsense box and the domain name for the hosts on the LAN. In addition the configured Google nameservers are listed but they should not.