mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-07 19:02:37 +01:00
Compare commits
No commits in common. "299eaa8d8d982c2d0a1e3e0f24d1dba84698d5a9" and "9e747d9dba92ef3db3da29f0838acc311d588a81" have entirely different histories.
299eaa8d8d
...
9e747d9dba
@ -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 ::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
|
||||
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
|
||||
|
||||
# Remove all other permissions than everyone reading resolv.conf
|
||||
chmod -v a=r /etc/resolv.conf
|
||||
|
@ -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 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user