LookupServer: Support multiple nameservers

The configuration key [DNS] Nameserver has been renamed to Nameservers
and accepts a comma-separated list of nameserver addresses, which will
be queried in the given order until a response has been received.

The new default value is still Cloudflare's 1.1.1.1 as well as their
secondary DNS server 1.0.0.1.
This commit is contained in:
Linus Groh 2020-10-25 15:30:44 +00:00 committed by Andreas Kling
commit 7eee39b850
Notes: sideshowbarker 2024-07-19 01:43:58 +09:00
3 changed files with 30 additions and 19 deletions

View file

@ -1,2 +1,2 @@
[DNS]
Nameserver=1.1.1.1
Nameservers=1.1.1.1,1.0.0.1