Date: Tue, 20 Apr 2021 14:12:12 -0700 From: Doug Hardie <bc979@lafn.org> To: "net@freebsd.org" <net@FreeBSD.org> Subject: Problem with resolver/host Message-ID: <041E6B07-0797-436F-909F-5B77ED77DAEC@sermon-archive.info>
next in thread | raw e-mail | index | archive | help
I suspect this is an issue with the resolver, but it could also be in = host. I have the following in /etc/resolv.conf: # Generated by resolvconf nameserver fe80::213:72ff:fec3:180f%bge0 nameserver fe80::120c:6bff:fee9:cdf7%bge0 There is a DNS server running at the first address that supplies IPv6 = addresses. When I ping the first address, it succeeds: test# ping fe80::213:72ff:fec3:180f%bge0 PING6(56=3D40+8+8 bytes) fe80::6a5b:35ff:fed3:4eda%bge0 --> = fe80::213:72ff:fec3:180f%bge0 16 bytes from fe80::213:72ff:fec3:180f%bge0, icmp_seq=3D0 hlim=3D64 = time=3D0.321 ms 16 bytes from fe80::213:72ff:fec3:180f%bge0, icmp_seq=3D1 hlim=3D64 = time=3D0.553 ms 16 bytes from fe80::213:72ff:fec3:180f%bge0, icmp_seq=3D2 hlim=3D64 = time=3D0.544 ms 16 bytes from fe80::213:72ff:fec3:180f%bge0, icmp_seq=3D3 hlim=3D64 = time=3D0.424 ms However, host client.global.example return an error: test# host client.global.example ;; connection timed out; no servers could be reached ktrace of host shows that either host or the resolver is trying to use = the address without the %bge0 which is why that error occurs: 2027 host STRU struct sockaddr { AF_INET6, = [fe80::213:72ff:fec3:180f]:53 } 2027 host RET sendto -1 errno 51 Network is unreachable Is this a bug or is there some configuration item I have missed: -- Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?041E6B07-0797-436F-909F-5B77ED77DAEC>