From 51508ef156a09b83449e856ee2617324b9d3b686 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 17 Feb 2023 14:53:25 +0900 Subject: Resolve OpenNIC domains on GuixSD --- guix/system.scm | 8 ++++++-- 1 file 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) -- cgit 1.4.1