summaryrefslogtreecommitdiff
path: root/hosts/kay/modules/dns
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-01 17:49:18 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-01 18:09:31 +0530
commita02000c713b9daf81c08e806d4b1b3664515c276 (patch)
treecb18ed4418ca01d63d35a403c3b705037d316a91 /hosts/kay/modules/dns
parent367d481b15a8f6c4805aeda87dffa05f1d0acae1 (diff)
kay/dns: init rdns for 2001:470:ee65::0/48
Diffstat (limited to 'hosts/kay/modules/dns')
-rw-r--r--hosts/kay/modules/dns/5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.zone13
-rw-r--r--hosts/kay/modules/dns/default.nix16
2 files changed, 24 insertions, 5 deletions
diff --git a/hosts/kay/modules/dns/5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.zone b/hosts/kay/modules/dns/5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.zone
new file mode 100644
index 0000000..c12f969
--- /dev/null
+++ b/hosts/kay/modules/dns/5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.zone
@@ -0,0 +1,13 @@
+$ORIGIN 5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.
+$TTL 2d
+
+@ IN SOA ns1.sinanmohd.com. sinan.sinanmohd.com. (
+ 2024020100 ; serial
+ 2h ; refresh
+ 5m ; retry
+ 1d ; expire
+ 5m ) ; nx ttl
+
+ IN NS ns1.sinanmohd.com.
+
+1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR ns1.sinanmohd.com.
diff --git a/hosts/kay/modules/dns/default.nix b/hosts/kay/modules/dns/default.nix
index 5f287fd..6bd4774 100644
--- a/hosts/kay/modules/dns/default.nix
+++ b/hosts/kay/modules/dns/default.nix
@@ -64,11 +64,17 @@ in {
}
];
- zone = [{
- domain = "sinanmohd.com";
- file = ./sinanmohd.com.zone;
- template = "master";
- }];
+ zone = [
+ {
+ domain = "sinanmohd.com";
+ file = ./sinanmohd.com.zone;
+ template = "master";
+ }
+ {
+ domain = "5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa";
+ file = ./5.6.e.e.0.7.4.0.1.0.0.2.ip6.arpa.zone;
+ }
+ ];
};
};