IPVLAN L3 is not forwarding non Docker DNS requests outside of the container anymore #47655
-
Sorry, I don't know whether I am on the right location here. The source of my request is this discussion: But I am not able to bring an IPVLAN L3 config to a status where it will forward DNS requests to an Docker external DNS server. I did a Docker Zabbix setup, which should be able to resolve Network related FQDN's which are not part of Docker environment for monitoring purposes. Every other Public IP address is reachable from the Docker containers (8.8.8.8, an network internal systems which are not part of the Docker environment). Here docker version: `docker info Server: To test the network behaviour i deployed a busybox into the existing Docker Zabbix network:
Here the docker network inspect: docker network inspect 60_zbx_net_backend Here a default /etc/resolve.conf output of the busybox: docker exec -it busybox2 sh nameserver 127.0.0.11 '# Based on host file: '/etc/resolv.conf' (internal resolver)' How can I enforce the Docker containers/host to forward external DNS requests outside of the Docker environment? That was working in earlier Docker versions. If this has been restricted I am asking, why? In a IPVLAN L3 environment the user is responsible to protect its network by using firewalls etc. This function is essential in L3 network. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I'm the guy who wrote the post you linked to. I've tried every modification to my configuration lab to get around this and cannot figure it out. If the answer going forward is "IPVLAN L3 mode containers need to have custome resolver.conf files for external DNS resolution" okay, that's fine, but that should really be in the documentation somewhere. I've re-read so much stuff and I'm still not confident in how I'm interpreting things so I need some idiot-proof documentation to spell it out for me. Or it's a bug, in which case, cool, I'll downgrade until it's fixed. |
Beta Was this translation helpful? Give feedback.
-
@josoko Thanks for reporting! We changed the way our embedded DNS server is configured in v26, so it's most probably due to that. I created the following issue to further investigate: #47662. |
Beta Was this translation helpful? Give feedback.
-
@akerouanton Many thx! |
Beta Was this translation helpful? Give feedback.
-
Cool! It works again. Docker 26.0.1. Thank you moby team! |
Beta Was this translation helpful? Give feedback.
The fix has been backported to v26 and should be released soon. I'll close this discussion.