@manjotsc said in Domain Override (DNS Resolver) Not Working:
need to set Outgoing Network Interfaces to ALL, I had it set to WAN
Oh ... cool ... tel unbound to use (only) WAN as an outgoing interface, while it should have been to using the Wireguard tunnel (which also goes over WAN) to do its job.
edit : I'm actually echoing what @SteveITS said
@manjotsc said in Domain Override (DNS Resolver) Not Working:
Is there a reason why it needs to be to ALL?
You've already got my point : because someone decides that that settings is perfect for us ^^
As the fireguard connection is a second type of WAN interface : a network that goes "somewhere" outside the local LANs, and not reachable by classic WAN, you have to inform unbound about it.
Set it to
c743ced4-d244-49d5-b205-b66c86a160e6-image.png
(it was set by default on All - which proofs Netgate's default settings are perfect - who are we to make them any better 😊)
but yeah, WAN is fine, but check-select also your wireguard interface.
I don't quiet understand what danger or harm there is if it also uses my local LAN connections (no DNS devices will reply from there ) so I don't bother : All is fine for me.
Their might be cases where All is not good - I just didn't discover them yet.
@manjotsc said in Domain Override (DNS Resolver) Not Working:
server:
private-domain: "example.xyz"
There is another part worth look at - same file :
# Domain overrides
include: /var/unbound/domainoverrides.conf
Look at what "/var/unbound/domainoverrides.conf" contains.