[pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Nov 25 12:34:30 CET 2020


> On 11/25/2020 12:22 PM Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
>  
> Answering myself, it is defined in RFC4007.
> 
> But "man resolv.conf" say address must be RFC2373 ?

It'll still work. It's a very common notation for link local addresses,
since with multiple interfaces you have multiple routes with the exact
same prefix (including length). One `fe80::/64 dev <iface>` entry for
every ipv6 enabled interface, so things such as `ping fe80::1` don't
know what to do, so you need to either add `-I IFACE` or use
`fe80::1%IFACE`.

`getaddrinfo()` also generally supports it, so any application using
it properly will work fine with this.
(eg. `ssh foo at fe80::1%eth0` works)





More information about the pve-devel mailing list