Adguard on opnsense. No inet if I leave dns servers blank in general

Started by mkono87, October 26, 2021, 03:34:16 AM

Previous topic - Next topic
Hopefully there is enough of you that use adguard on opnsense can help me out. I have installed it and set it up. I have changed unbound to 5353 but also decided to disable it as adguard is on 53. I noticed only one of my devices in my entire network is running through adguard.

I found that if leave the dns servers blank in settings/general, I have no internet at all, so I am forced to leave 8.8.8.8 which is defeating the purpose. Does anyone have an idea what my issue is?

Edit: When I turned unbound on again and set routerip:5353 in bootstrap dns servers in adblock, I seemed to be getting much more entiries going through.....but why? I thought I didnt need unbound on.

Are you running adguard home? Is it installed on a VM on the LAN or on OPNS?
Then, what settings you have in OPN Settings > General?
What settings you have in Adguard Settings > DNS Settings ?
Finally, are you running Unbound or DNSMasq, which settings on them?

I can share my settings that work. I have Adguard Home on OPN (plugin), with Unbound.
Unbound is running on 5353 on OPNS. AGH has 192.168.5.1:5353 for it's DNS server. That is my OPN LAN ip and the port for Unbound. In OPN Settings > General there is no DNS set and "Do not use the local DNS service as a nameserver for this system " is enabled.
That causes OPN to give DHCP clients it's own ip and port 53 by default as DNS server. DNS queries are received by ADG on port 53 and sent to OPN Unbound on port 5353.
I have a couple of firewall rules for stray clients but you should get the basic setup going first.

Quote from: cookiemonster on October 26, 2021, 09:55:27 PM
Are you running adguard home? Is it installed on a VM on the LAN or on OPNS?
Then, what settings you have in OPN Settings > General?
What settings you have in Adguard Settings > DNS Settings ?
Finally, are you running Unbound or DNSMasq, which settings on them?

I can share my settings that work. I have Adguard Home on OPN (plugin), with Unbound.
Unbound is running on 5353 on OPNS. AGH has 192.168.5.1:5353 for it's DNS server. That is my OPN LAN ip and the port for Unbound. In OPN Settings > General there is no DNS set and "Do not use the local DNS service as a nameserver for this system " is enabled.
That causes OPN to give DHCP clients it's own ip and port 53 by default as DNS server. DNS queries are received by ADG on port 53 and sent to OPN Unbound on port 5353.
I have a couple of firewall rules for stray clients but you should get the basic setup going first.
So I disabled unbound and put my router ip in the DNS settings in settings/general. Seems to be working fine now.