about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-04 16:48:18 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-04 16:48:18 +0900
commitd6210759f8b69f097f3670bc255a775041554e1d (patch)
tree87f0b2ecd373d3e5ccc82c6a29643778608f896e
parentf0b453bcd61f84e740537014db7535c8b5476fe4 (diff)
downloadnixos-conf-d6210759f8b69f097f3670bc255a775041554e1d.tar.gz
Enable ns-global support for cnx.gdn and xrvs.net
-rw-r--r--dns.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/dns.nix b/dns.nix
index f0547ba..63e0799 100644
--- a/dns.nix
+++ b/dns.nix
@@ -30,11 +30,20 @@
           listen: 0.0.0.0@53
           listen: ::@53
 
+      remote:
+        - id: secondary
+          address: 204.87.183.53@53
+          address: 2607:7c80:54:6::53@53
+
       log:
         - target: syslog
           any: info
 
       acl:
+        - id: secondary
+          address: 204.87.183.53
+          address: 2607:7c80:54:6::53
+          action: transfer
         - id: xarvos
           action: update
           update-owner: key
@@ -48,8 +57,12 @@
 
       zone:
         - domain: cnx.gdn
+          notify: secondary
+          acl: secondary
         - domain: loang.net
         - domain: xrvs.net
+          notify: secondary
+          acl: secondary
           acl: xarvos
     '';
     keyFiles = [