diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-05-11 21:33:36 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-05-11 21:33:36 +0530 |
commit | f72054b80550e4eaddeb173395de6ab600f5f716 (patch) | |
tree | 4318047e0f58be53f91f9d671e5c93c7f8ff3c7a /os/kay/modules/dns/default.nix | |
parent | 2c5939d50ac4a05862ff60c2e8287b214f55a98e (diff) |
kay/dns: listen on the new static ipv4 addr
Diffstat (limited to 'os/kay/modules/dns/default.nix')
-rw-r--r-- | os/kay/modules/dns/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/os/kay/modules/dns/default.nix b/os/kay/modules/dns/default.nix index ee0437a..357cddd 100644 --- a/os/kay/modules/dns/default.nix +++ b/os/kay/modules/dns/default.nix @@ -1,5 +1,8 @@ { config, pkgs, ... }: let - listen_addr = "2001:470:ee65::1"; + listen_addr = [ + "137.59.84.126" + "2001:470:ee65::1" + ]; acmeSOA = pkgs.writeText "acmeSOA" '' $TTL 2d @@ -66,14 +69,14 @@ in { action = "transfer"; } { - id = "localhost"; - address = [ listen_addr ]; + id = "ddns"; + address = listen_addr; update-type = [ "A" "AAAA" ]; action = "update"; } { id = "acme"; - address = [ listen_addr ]; + address = listen_addr; update-type = [ "TXT" ]; action = "update"; } @@ -99,7 +102,7 @@ in { dnssec-policy = "gtld-servers.net"; notify = [ "ns1.he.net" ]; - acl = [ "ns1.he.net" "localhost" ]; + acl = [ "ns1.he.net" "ddns" ]; zonefile-sync = "-1"; zonefile-load = "difference"; |