openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
20.54k stars 10.56k forks source link

FS#4160 - Leaking host IP addresses to unrelated dnsmasq instances #9145

Open openwrt-bot opened 3 years ago

openwrt-bot commented 3 years ago

sanchosk:

Supply the following if possible:

Problem: the resolver will work as the addn-hosts folder is shared with both instances. This "leaks" the dns responses to the guest lan from the main lan and vice-versa, despite this is not wanted. I created a pull request with dirty workaround - changed the HOSTFILE variable in a way that it will create a separate directory (/tmp/hosts/dhcp/main/main and /tmp/hosts/dhcp/guest/guest), working around the problem - no more shared folders.

openwrt-bot commented 3 years ago

sanchosk:

This is the pull request https://github.com/openwrt/openwrt/pull/4798