mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-15 08:01:26 +00:00
a8e258e5e24f3d67e02b487cb5b2728f828d9b58
For containers with user-defined bridge networks, Docker creates an "embedded" DNS server, that listens on the loopback interface. `generate-dhcpd-conf` was trying to pass this local DNS server to the VM, causing it to fail all DNS queries. This change makes `generate-dhcpd-conf` return static IP addresses, by default `8.8.8.8`,`8.8.4.4`. This seems like a reasonable enough middle ground between "no DNS" and trying to proxy VM DNS requests to the embedded docker DNS server. This has the unfortunate side-effect that the VM cannot resolve the names of containers on the same user-defined network (though it can still connect to them by IP). Hopefully I'll eventually get around to fixing this.
Description
OpenWrt docker container for x86_64 and arm64
34 MiB
Languages
Shell
35%
HTML
20.1%
TypeScript
17.3%
Python
14.9%
Dockerfile
7.6%
Other
5.1%