Don't read /etc/hosts #4125
Unanswered
alexdelprete
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello. The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to force AGH not to use /etc/hosts? I read about the
--no-etc-hosts
option, so I restarted the service with that, but it didn't seem to have effect. Does it only apply during the install phase? It would be good to have that as an option in the UI/config file.The problem I'm having is that if I do an nslookup on the LAN for the adguardhome.mydomain.lan host (AGH itself), it returns 127.0.1.1 instead of forwarding the request to my opnsense router (which does DHCP and runs unbound).
So I can't resolve the agh hostname on the LAN. For now, I configured a rewrite to bypass the problem, but I don't like it as a permanent solution.
Thanks for any advice.
Beta Was this translation helpful? Give feedback.
All reactions