#1121019 resolvconf: Does not honour dual IPv4 and IPv6 nameserver config

#1121019#5
Date:
2025-11-19 14:33:46 UTC
From:
To:
Dear Maintainer,

I am having trouble configuring resolvconf to add both IPv4 and IPv6
nameserver entries.

My interfaces file (mostly a copy of Hetzner VPS default):

```
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
    dns-nameservers 127.0.0.1
    dns-nameservers ::1

# control-alias eth0
iface eth0 inet6 static
    address 2a01:XXX::1/64
    gateway fe80::1
```

This produces resolv.conf

```
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
```

Adding the IPv6 nameserver to inet6 block just means that becomes the
only nameserver listed.

Some resolvconf output in case it is useful.

```
resolvconf -i
eth0.inet eth0.dhclient

resolvconf -l
# resolv.conf from eth0.inet
nameserver 127.0.0.1
nameserver ::1
```

Best regards,

George