| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
testing by otto & pamela as part of a larger diff
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is beneficial since we prefer strategies according to their
performance.
Previously name servers were upgraded to opportunistic DoT if it was
available even if the round trip times went through the roof and there
was no way to got back to plain udp/53 DNS.
To make up a bit of space in the unwindctl status output, name servers
learned via DHCP or SLAAC are printed in a new subcommand.
The status output will be further improved shortly.
Input & OK otto
|
|
|
|
| |
display; remove the why bogus status message; ok florian@
|
| |
|
|
|
|
|
|
| |
IP address, port and authentication name.
This makes print_config less awkward and fixes a bug were an
alternative port number was not printed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
validates, measure how well it is doing.
We keep track of the round trip median time of past queries and sort
strategies according to this in addition to the more basic qualities
of does it resolve and does it validate. If a query is not answered
within the median time the next best strategy gets a chance. The most
prefered strategy (either from the config file or defaults) gets an
additional head start of 200ms.
A response of SERVFAIL also advances to the next best strategy. This
is helpful when the picked strategy can only see parts of the internet
but another strategy can reach more.
This alone gets us past quite a few captive portals already.
Additionally we doubt NXDOMAIN from anything but the stub resolver for
the first 5 minutes after a network change. This is probably as good
as the http check we had previously but more tests are needed.
This was inspired by RFC 8305, "Happy Eyeballs".
OK otto
|
|
|
|
| |
OK otto
|
|
|
|
| |
unwindctl suggests; ok florian@
|
|
|
|
| |
prodding deraadt@
|
|
|
|
|
| |
Someone please make this pretty.
Tested by deraadt as part of a larger diff.
|
| |
|
|
|
|
|
| |
Unfortunately the nameserver types enums needed to be renamed
to not collide with yacc tokens.
|
| |
|
| |
|
| |
|
| |
|
|
unwind(8) is a hybrid validating stub & recursive resolver.
It actively observes the local net to decide how to best resolve
names. It can chose to recurse on it's own or talk to dhcp
provided forwardes or statically defined forwarders in the
config file.
The intention is to be able to run it on localhost on every machine.
"toss it in man" deraadt@
|