diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-17 14:53:25 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-17 14:54:00 +0900 |
commit | 51508ef156a09b83449e856ee2617324b9d3b686 (patch) | |
tree | acb74de23919752e58e47870a747b45b021276da /guix | |
parent | d41a4d045312eb11b0d48a5e6aea15f3b339c8c5 (diff) | |
download | dotfiles-51508ef156a09b83449e856ee2617324b9d3b686.tar.gz |
Resolve OpenNIC domains on GuixSD
Diffstat (limited to 'guix')
-rw-r--r-- | guix/system.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/guix/system.scm b/guix/system.scm index e53f361..77d350b 100644 --- a/guix/system.scm +++ b/guix/system.scm @@ -36,7 +36,11 @@ (service dnsmasq-service-type (dnsmasq-configuration (no-resolv? #t) - (servers '("9.9.9.9" "149.112.112.112")))) + (query-servers-in-order? #t) + (servers '("172.104.162.222" ; ns3.sg.dns.opennic.glue + "84.200.69.80" "84.200.70.40")) ; DNS.WATCH + (cache-size 10000) + (negative-cache? #f))) (service static-networking-service-type (list (static-networking (addresses @@ -47,7 +51,7 @@ (list (network-route (destination "default") (gateway "192.168.0.1")))) - (name-servers '("0.0.0.0"))))) ; dnsmasq + (name-servers '("127.0.0.1"))))) ; dnsmasq (service avahi-service-type) (udisks-service) (elogind-service) |