How to add IPv6 nameservers to guest

Jul 25, 2019
14
2
43
43
Norway
centoba.com
I got a host/server running a few guests (CT/VM) with IPv6 only. I need these guests to have IPv6 nameservers added in their resolve.conf.

What is the best practice to achieve this?

I tried adding 6 nameservers in resolve.conf at the host/server (3x IPv4 + 3x IPv6) but only the first 3 nameservers is added to resolve.conf at the guests.

Manually editing the guest resolve.conf and restarting network works, but is only a temporary solution as everything is reset on reboot.

Thank you.
 
I am just looking for a easy solution that provide guests with nameservers for IPv6 and IPv4.

Manually editing resolve.conf and add a total of 6 nameservers works fine. The problem is that PVE resets resolve.conf when the guest is rebooted.


Thank you.