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

Dietmar Maurer dietmar at proxmox.com
Wed Nov 25 12:39:20 CET 2020


Thanks for the info. But what encoding does that text use? I cannot find that in RFC4007 (they only
talk about strings and text).

> > 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