From d06529686f89074fd4fa574ac6012f8a873e7857 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Nov 2023 20:23:56 +0000 Subject: Prepare for 2.3.7.0; ignore link-local addresses in /etc/hosts Signed-off-by: Laurent Bercot --- doc/s6-dns-hosts-compile.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/s6-dns-hosts-compile.html') diff --git a/doc/s6-dns-hosts-compile.html b/doc/s6-dns-hosts-compile.html index 537c025..2fecdc1 100644 --- a/doc/s6-dns-hosts-compile.html +++ b/doc/s6-dns-hosts-compile.html @@ -70,6 +70,11 @@ than /etc/hosts.cdb, they will not use /etc/hosts.cdb and will perform the compilation step into a temporary file. So, remember to run s6-dns-hosts-compile after modifying your /etc/hosts if you want to keep the tiny performance improvement. +
  • Some tools write link-local addresses in /etc/hosts i.e. IPv6 addresses +followed by a % (percent) and a network interface name. This is nonstandard +and unusable with the DNS protocol, which does not take interface names into +account. s6-dns-hosts-compile will ignore such lines if they appear in +your hosts file.
  • -- cgit v1.3.1