Hello

On Debian 6.1.129-1, I have a static network interface conf (no Netplan)
with both IPv4 & IPv6 addressing and Name-servers set.

>
root@debian:/home/user# more /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
 auto lo
 iface lo inet loopback

 allow-hotplug enp1s0
 iface enp1s0 inet static
 address 12.34.56.78
 network 12.34.56.0
 netmask 255.255.255.0
 broadcast 12.34.56.255
 gateway 12.34.56.1

 iface enp1s0 inet6 static
 address 2xxx:xxxx:x00:1::50
 netmask 64
 gateway 2xxx:xxxx:x00:1::1
 dns-nameservers 12.34.56.80  2xxx:xxx:x00:1::80


When I query what is set in resolv.conf file, It only returns the IPv4 host.

root@debian:/home/user# more /etc/resolv.conf
nameserver 12.34.56.80

On another older machine (running kernel 4.9.35-v7+) with exactly the
same configuration layout, I get BOTH the IPv4 & IPv6 addresses returned
from resolv.conf
>
root@another:/home/user# more /etc/resolv.conf
nameserver 12.34.56.80
nameserver 2xxx:xxx:x00:1::80


The IPv6 networking side has no issues - I can ssh over to other
machines via IPv6 with no issues.  And the machine is serving v6 web
traffic fine.

Mal


Reply via email to