Compare commits

...

2 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ rm -v /etc/resolv.conf
# Actual resolv.conf creation. OK, this could read resolv.conf in this
# directory, but I like this being self-contained.
# tee -p = operate in a more appropriate MODE with pipes.
printf 'nameserver 127.0.0.53\nnameserver 127.0.0.1\nnameserver ::1\nsearch .\noptions timeout:1 attempts:5 rotate edns0 trust-ad\n' | tee -p /etc/resolv.conf
printf 'nameserver ::1\nnameserver 127.0.0.1\nnameserver 127.0.0.53\nsearch .\noptions timeout:1 attempts:5 rotate edns0 trust-ad\n' | tee -p /etc/resolv.conf
# Remove all other permissions than everyone reading resolv.conf
chmod -v a=r /etc/resolv.conf

View File

@ -1,7 +1,7 @@
# ~/.curlrc
# https://dns0.eu - Anycast with servers in the EU. Private ECS.
doh-url = https://dns0.eu/
#doh-url = https://dns0.eu/
#doh-url = https://open.dns0.eu/
# https://adguard-dns.io - anycast with servers in multiple continents,
@ -12,7 +12,7 @@ doh-url = https://dns0.eu/
# https://quad9.net - Anycast, no ECS
#doh-url = https://dns.quad9.net/dns-query
# ECS
#doh-url = https://dns11.quad9.net/dns-query
doh-url = https://dns11.quad9.net/dns-query
# Attempt to use HTTP/3
http3