← Shrirang Kahale's posts

Setting DNS for containers in a docker environment

Shrirang Kahale··
View Original ↗
Setting DNS in a docker environment I have a DNS resolver running on my homeserver (adguard home) which also acts as an adblocker. But the host firewall is configured to only accept traffic from my home LAN (10.0.1.0/24) The containers meanwhile are isolated and do not share the same IP range as my LAN, this leads to DNS queries failing inside the containers. I have noticed that all my containers default to 8.