mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-11 21:09:23 +01:00
Compare commits
2 Commits
9e747d9dba
...
299eaa8d8d
Author | SHA1 | Date | |
---|---|---|---|
299eaa8d8d | |||
da02b5395b |
@ -17,7 +17,7 @@ rm -v /etc/resolv.conf
|
|||||||
# Actual resolv.conf creation. OK, this could read resolv.conf in this
|
# Actual resolv.conf creation. OK, this could read resolv.conf in this
|
||||||
# directory, but I like this being self-contained.
|
# directory, but I like this being self-contained.
|
||||||
# tee -p = operate in a more appropriate MODE with pipes.
|
# 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
|
# Remove all other permissions than everyone reading resolv.conf
|
||||||
chmod -v a=r /etc/resolv.conf
|
chmod -v a=r /etc/resolv.conf
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# ~/.curlrc
|
# ~/.curlrc
|
||||||
|
|
||||||
# https://dns0.eu - Anycast with servers in the EU. Private ECS.
|
# 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/
|
#doh-url = https://open.dns0.eu/
|
||||||
|
|
||||||
# https://adguard-dns.io - anycast with servers in multiple continents,
|
# 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
|
# https://quad9.net - Anycast, no ECS
|
||||||
#doh-url = https://dns.quad9.net/dns-query
|
#doh-url = https://dns.quad9.net/dns-query
|
||||||
# ECS
|
# ECS
|
||||||
#doh-url = https://dns11.quad9.net/dns-query
|
doh-url = https://dns11.quad9.net/dns-query
|
||||||
|
|
||||||
# Attempt to use HTTP/3
|
# Attempt to use HTTP/3
|
||||||
http3
|
http3
|
||||||
|
Loading…
Reference in New Issue
Block a user