Somehow my code needs 2 DNS Servers, one to resolve container names and other to resolve my domain FQDNs. Adding 2 DNS to the container is not working. How can I add my custom dns records to docker's default DNS Server ?
Tried --dns paramter and dns arg from docker compose
# dns:
# - 172.17.0.2
# - 127.0.0.11
# - some_ip
# network_mode: bridge
first IP is a local dns server which is going to resolve my domain FQDNs sencond IP is docker's default dns which is needed resolve container names ( clear my concept if this is not needed ) third is a fallback IP which is my organization's DNS Server.