I am facing an issue similar to this thread
Currently I have DHCP setup for ipv6 only as my router gets assigned different delegated prefixes after every router reboot.
I want to have an ipv4 and ipv6 DNS server in /etc/resolv.conf but modifying dhclient.conf and using prepend 192.168.0.1 just overwrites the whole resolv.conf file with an ipv4 address. Setting the DNS servers for the host in Proxmox GUI is overwritten after reboot with an ipv6 dns.
Hi everyone.
I am currently using Proxmox VE 4.2-15/6669ad2c.
I'm having a similar problem to this thread but I am not running any either of those three services on any of my containers.
All of my containers are Debian 8.
When I restart a container, it appears that IPv6 DNS is overwriting all of my resolv.conf files. That's not usually a problem, but it affects services that run in those that only communicate over IPv4. As such, I'm stuck having to manually overwrite the resolv.conf files on restart of those. I'm trying to find out what is causing the resolv.conf to be overwritten...
I am currently using Proxmox VE 4.2-15/6669ad2c.
I'm having a similar problem to this thread but I am not running any either of those three services on any of my containers.
All of my containers are Debian 8.
When I restart a container, it appears that IPv6 DNS is overwriting all of my resolv.conf files. That's not usually a problem, but it affects services that run in those that only communicate over IPv4. As such, I'm stuck having to manually overwrite the resolv.conf files on restart of those. I'm trying to find out what is causing the resolv.conf to be overwritten...
- codycook
- Replies: 1
- Forum: Proxmox VE: Networking and Firewall
Currently I have DHCP setup for ipv6 only as my router gets assigned different delegated prefixes after every router reboot.
I want to have an ipv4 and ipv6 DNS server in /etc/resolv.conf but modifying dhclient.conf and using prepend 192.168.0.1 just overwrites the whole resolv.conf file with an ipv4 address. Setting the DNS servers for the host in Proxmox GUI is overwritten after reboot with an ipv6 dns.
Code:
root@azuriye-pve:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp1s0 inet manual
post-up /usr/sbin/ethtool -s enp1s0 wol g
auto vmbr0
iface vmbr0 inet static
address 192.168.0.143/24
gateway 192.168.0.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 dhcp
accept_ra 2
post-up sleep 10 && dhclient -6 vmbr0
iface wlo1 inet manual
source /etc/network/interfaces.d/*