Created
June 21, 2019 18:22
-
-
Save ivan/c4d6ba9a9773c13e63e2563ce8c0f8e2 to your computer and use it in GitHub Desktop.
DNS resolver settings for NixOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networking = { | |
# Don't try to find our domain name or DNS servers because then | |
# resolvconf will insert them into /etc/resolv.conf | |
dhcpcd.extraConfig = | |
'' | |
nooption domain_name_servers, domain_name, domain_search, host_name | |
nooption ntp_servers | |
''; | |
nameservers = [ | |
"1.1.1.1" | |
"1.0.0.1" | |
"2606:4700:4700::1111" | |
"2606:4700:4700::1001" | |
]; | |
hosts = { | |
# archive.is refuses to serve Cloudflare correct records | |
"51.38.113.224" = [ "archive.li" "archive.is" "archive.fo" "archive.today" ]; | |
}; | |
domain = null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment