March 20, 20197 yr I have a number of user-defined networks, which I then assign to containers depending on what vlan I want them to be in. I've noticed that containers use the DNS server defined in Settings->Network Settings. After some research, I found that I can define the DNS server per container. https://docs.docker.com/v17.09/engine/userguide/networking/default_network/configure-dns/ Can you add a field in the Docker Settings page to define DNS as well, instead of defaulting to the DNS server defined for unraid?
April 2, 20197 yr Should be able to get by using extra parameters field (advanced settings) to add the dns options (as per link in first post)
April 2, 20197 yr 15 minutes ago, tjb_altf4 said: Should be able to get by using extra parameters field (advanced settings) to add the dns options (as per link in first post) Could you please post an example? do you mean here? how should I enter the information?
April 2, 20197 yr Not there, if you expand the template view to advanced (toggle is top left right) it will expose extra fields including one called Extra Parameters. Edited April 2, 20197 yr by tjb_altf4
November 27, 20232 yr On 4/2/2019 at 8:05 PM, tjb_altf4 said: Not there, if you expand the template view to advanced (toggle is top left right) it will expose extra fields including one called Extra Parameters. is this differ from bridge and host? --dns for bridge, another for host?
December 27, 20232 yr On 11/27/2023 at 11:46 AM, yolo said: is this differ from bridge and host? --dns for bridge, another for host? With that settings the docker will use both DNS, it is something "normal" in case 1 fails to add 2 DNS, you can add 1 only and will work as well Edited December 27, 20232 yr by L0rdRaiden
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.