I have several devices deployed on a network where I need them to resolve local DNS names, so I set the key dnsServers=null
in /boot/config.json
. This works, and I can resolve the hosts I need to. However, I always need to use the hosts’ FQDN since the search
option is not present in /etc/resolv.conf
in the host OS or in my container. In the host OS, the output of the command resolvconf
shows the search domain I want, so I believe the DHCP response was understood. How can I ensure the search domain provided by DHCP is set in my containers /etc/resolv.conf
?
Hi @russel , could you try setting the dns_search
compose field for containers that require the search domain? See: Services | Docker Docs