support for roaming and captive portal detection?

Martin Monperrus martin.monperrus at gnieh.org
Mon May 14 20:27:25 UTC 2018


Hi all,

I'm using unbound as DNS forwarder on my laptop.

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:

    cat /var/run/NetworkManager/resolv.conf >> /etc/resolv.conf

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.

How to automate this? What kind of captive portal detection is compatible with unbound?

Best regards,

--Martin
PS: Firefox has such a feature in their new DNS-over-HTTPS feature, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20180514/29269c8f/attachment.htm>


More information about the Unbound-users mailing list