Skip to content

Update dnsmasq.conf - add no-resolv - DON'T read local /etc/resolv.conf for upstream servers#1

Open
DanielSpindler83 wants to merge 1 commit intoBarryBahrami:mainfrom
DanielSpindler83:main
Open

Update dnsmasq.conf - add no-resolv - DON'T read local /etc/resolv.conf for upstream servers#1
DanielSpindler83 wants to merge 1 commit intoBarryBahrami:mainfrom
DanielSpindler83:main

Conversation

@DanielSpindler83
Copy link
Copy Markdown

Add one line to dnsmasq.conf

Add this to explicitly disable dnsmasq from loading resolvers from the local /etc/resolv.conf
depending on certain setup - docker may inject something into the container /etc/resolv.conf file
Especially if the docker host tries to reference 127.0.0.1 to consume DNS from the container

once we add the new config line we can be sure that all requests will ONLY use the dnsmasq forwarder as we need it to

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant