CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2019/11/02 01:47:02

Modified files:
        sbin/unwind    : resolver.c 

Log message:
When we are behind a captive portal we very likely need to use the asr
strategy to get past it. This is also true when we don't know yet if
we are behind a captive portal.

However, when the nameserver dhcp hands us are unreachable (e.g.
because they are down) asr is dead, we are still using it and we are
now stuck.

Only force to asr if we know that it is working. If we are behind a
captive portal and the dhcp nameserver are dead we probably won't get
past it. But if we are in a network with unreachable dhcp nameservers
we will make progress.

Stumbled upon by remi while blocking port 53 in pf.
OK remi

Reply via email to