DNS Setting as part of Advanced Settings (with ability to block Proxmox override on LXC startup) #801
Replies: 5 comments 1 reply
-
🤔 |
Beta Was this translation helpful? Give feedback.
-
Would the option to set the DNS Server address solve your issues? |
Beta Was this translation helpful? Give feedback.
-
As you can see above, I've created options to set DNS Server IP Address and DNS Search Domain to see if that's what you're looking for.
and using the "Advanced" settings. |
Beta Was this translation helpful? Give feedback.
-
Tested. Worked for me. Thanks for a quick update! |
Beta Was this translation helpful? Give feedback.
-
I installed both Pi-hole (192.168.1.99) and Traefik (192.168.1.98) with LXC containers but I'm facing an issue. From my Traefik container I can't ping pi.hole (nor others devices in my network that have a DNS entry in Pi-hole). My Traefik LXC container have been set with
but /etc/resolv.conf in Traefik LXC looks like
(instead of 1.99) as if Proxmox was overriding this file at container startup. After manually editing this this from 1.1 to 1.99 I can ping pi.hole Any idea? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When I was trying to use the script to spin up a container I always run into DNS look up issue. Upon investigating this issue, I have found that it is due to my network configuration and the DNS default setting in the scripts.
Currently, I have my Proxmox host on one VLAN and containers/VMs on another to isolate the network. However, by default, when container is created or started up, it will override the DNS setting and use host setting. This wouldn't work since there would be cross VLAN talk and block by default. (This might be Proxmox bug since the network setting is DHCP and it should pick those setting instead of statically set it to host setting but there is a customization to work around the issue)
My suggestion would be to add the ability to define/customize the DNS setting during set up and add it to ignore the setting to ignore list on container startup (by creating an empty file,
/etc/.pve-ignore.resolv.conf
).Here is some source:
/etc/.pve-ignore.resolv.conf
as empty file based on the aboveThanks!
Beta Was this translation helpful? Give feedback.
All reactions