On Thu, Mar 27, 2025 at 14:34:13 +1030, Mal wrote:
> 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

That dns-nameservers line is only used if you're running the "resolvconf"
package.

> 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

I would look at the timestamp on that file.  Is it being updated at all?

Next, I would verify that you've installed the resolvconf package, since
your configuration is relying on it.  Or, as another person suggested
already, skip the resolvconf package entirely, and just use a static
resolv.conf file.

Reply via email to