OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: argie on August 16, 2021, 11:20:54 AM

Title: Change Loopback Port: SOLVED
Post by: argie on August 16, 2021, 11:20:54 AM
Hi, I am having an issue that I don't know how to resolve.

I am using AdguardHome & Unbound having changed the Unbound Port to 5353 and forwarding from AdguardHome to use this port.

However, the issue is that Opnsense cannot resolve local hostnames I believe because it is looking on the default 127.0.0.1 which would be Port 53 instead of on the new Unbound port 127.0.0.1:5353.

How can I make Opnsense use 5353 for the loopback port? If I manually edit the resolv.conf file to use 127.0.0.1:5353 it works but the file resets after a few mins.

I don't know if this is the right question to ask.

Edit: I solved it by using my router address as the upstream DNS in System->Settings. All is working and resolving normally now.