<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="+1">Hi all,<br>
<br>
I'm using unbound as DNS forwarder on my laptop.<br>
<br>
When I'm traveling, each time I am behind a captive portal, I have
to manually set the name server to the one provided by the ISP:<br>
<br>
cat /var/run/NetworkManager/resolv.conf >>
/etc/resolv.conf<br>
<br>
This is only temporary. Once I'm logged in, I then manually remove
the added nameserver from /etc/resolv.conf so as to restore DNS
privacy-aware and secure mode.<br>
<br>
How to automate this? What kind of captive portal detection is
compatible with unbound?<br>
<br>
Best regards,<br>
<br>
--Martin<br>
PS: Firefox has such a feature in their new DNS-over-HTTPS
feature, see <a class="moz-txt-link-freetext" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1434852">https://bugzilla.mozilla.org/show_bug.cgi?id=1434852</a><br>
</font>
</body>
</html>