Reply-To: s7r@...2137... References: <789ad4be-2cb0-9af9-1d3f-7d1a9c05a1ab@...2137...> <20180727192636.GK55859@...1296...> <330e6498-78e9-c6f2-de16-3ae207fe26c7@...2137...> From: s7r Message-ID: <7ac51ab2-4c62-2bb4-f38b-664a25e3df12@...2137...> Date: Sun, 29 Jul 2018 16:54:41 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k4ZElrhJi6n5Zft4HQkgRP1WLCyVAV4sj" Subject: Re: [Openvpn-devel] Set interface metric instead letting it on auto (OS choice) when we have redirect-gateway present to enforce the desired effect for IPv6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Selva Nair Cc: openvpn-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k4ZElrhJi6n5Zft4HQkgRP1WLCyVAV4sj Content-Type: multipart/mixed; boundary="fYXTNfM549NksTrib6ufJDYkCdR9B5aX7"; protected-headers="v1" From: s7r Reply-To: s7r@...2137... To: Selva Nair Cc: openvpn-devel Message-ID: <7ac51ab2-4c62-2bb4-f38b-664a25e3df12@...2137...> Subject: Re: [Openvpn-devel] Set interface metric instead letting it on auto (OS choice) when we have redirect-gateway present to enforce the desired effect for IPv6 References: <789ad4be-2cb0-9af9-1d3f-7d1a9c05a1ab@...2137...> <20180727192636.GK55859@...1296...> <330e6498-78e9-c6f2-de16-3ae207fe26c7@...2137...> In-Reply-To: --fYXTNfM549NksTrib6ufJDYkCdR9B5aX7 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Selva Nair wrote: >> >> Hope this information is sufficient. >=20 > Not really. Sounds like DNS resolution is changing with metric of the > interface which very much points to a WIndows only behaviour. >=20 > And, in that case whether a DNS server is set on the tun interface and > which DNS server gets used when its "working" as expected and when its > "not working" would be relevant. Also whether block-outside-dns is in > use. >=20 Thanks for the hint Selva. Indeed it looks like something DNS related. The primary wired network interface has 1 IPv4-listening DNS server (192.168.1.1, which uses 2 upstream IPv4-listening DNS server from the ISP). The tun device has 2 IPv4 listening DNS servers (google) and 2 IPv6 listening DNS servers (google) pushed via dhcp-option DNS. When it is "not working", the DNS server from the wired network interface (192.168.1.1) is used. When it is "working", as when the metric for the tun/tap adapter is changed to be lower than primary wired network interface, google IPv6 listening DNS server is used. I imagined that it is a problem because even if the IPv4 listening DNS server from the wired network interface is used, that should still be able to deliver AAAA records for dual-stacked hostnames and then the IPv6 route to be used for anything (ping,traceroute,whatever). --fYXTNfM549NksTrib6ufJDYkCdR9B5aX7-- --k4ZElrhJi6n5Zft4HQkgRP1WLCyVAV4sj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEfDaSMlq9+wswIQPxg3+lLIEmWxEFAltdxyYACgkQg3+lLIEm WxGaoggArroK0xWPCXt4+8SoPBuptJC67+NXIUpcwLT8J36AmYvmOIGcYUEeplX2 753i8/fP5Sr8TPbo2xemlBncE4Wf6+vYcZoYoee2XXSsBnyp+cydY3BbnKgbTkeZ ndjf5HUVTliGQ1pE4bcYWVUXNKDhnbEtylOhJwV9bh7UtIk7kryC3JB3dwE2/wR4 zJEKoaTmOQsm2aAG0rDM1jvyFOn9WtOlNrsT5fkfZ0zgKukmcpfh1XkOzWi6hL+V 5kXgJlj5xo2rqkWcikMrbzQl61NaBUwknykTX7baM6BEzFg709S8J2huoGCjdTZZ RvxvSB/XiDZjr2t3bSM7PoZN662sRg== =CWz1 -----END PGP SIGNATURE----- --k4ZElrhJi6n5Zft4HQkgRP1WLCyVAV4sj--