[SOLVED] DNS configuration explained

Oct 10, 2022
48
2
13
In the containers' DNS configuration there are three fields: hostname, DNS domain, DNS server.
As far as I understand, in case of manual configuration, DNS server should be filled with the IP of the server. However, I do not understand what is the "DNS domain" field meant for.
 
Hi,

the "DNS domain" option sets the search domain of the container. From Wikipedia [1]:
When looking up a bare name in DNS, the network stack will add the search domains to it to form fully qualified domain names, and look up those as well.
[1] https://en.wikipedia.org/wiki/Search_domain
 
  • Like
Reactions: Machine Manager