Package: resolvconf
Version: 1.94
Severity: normal

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


-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.12.57+deb13-arm64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages resolvconf depends on:
ii  debconf [debconf-2.0]      1.5.91
ii  sysvinit-utils [lsb-base]  3.14-4

resolvconf recommends no packages.

resolvconf suggests no packages.

-- debconf information:
  resolvconf/downup-interfaces:
  resolvconf/reboot-recommended-after-removal:
  resolvconf/linkify-resolvconf: true
  resolvconf/link-tail-to-original: false

Reply via email to