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

Reply via email to