aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/testdata')
-rw-r--r--lib/dns/testdata/zone/with_soa_test.txt2
-rw-r--r--lib/dns/testdata/zone_soa_test.txt11
2 files changed, 12 insertions, 1 deletions
diff --git a/lib/dns/testdata/zone/with_soa_test.txt b/lib/dns/testdata/zone/with_soa_test.txt
index d63ba4ea..632d4058 100644
--- a/lib/dns/testdata/zone/with_soa_test.txt
+++ b/lib/dns/testdata/zone/with_soa_test.txt
@@ -7,7 +7,7 @@ b 604800 IN A 192.1.1.1
<<< zone_out.txt
$ORIGIN test.dev.
-@ SOA test.dev. . 0 0 0 0 0
+@ SOA test.dev. . 1691222000 86400 3600 0 3600
b 604800 IN A 192.1.1.1
<<< message_0.hex
diff --git a/lib/dns/testdata/zone_soa_test.txt b/lib/dns/testdata/zone_soa_test.txt
new file mode 100644
index 00000000..355ac40f
--- /dev/null
+++ b/lib/dns/testdata/zone_soa_test.txt
@@ -0,0 +1,11 @@
+<<< NewZone
+$ORIGIN test.soa
+@ SOA test.soa root 1691222000 86400 3600 0 3600
+
+<<< Add_SOA
+$ORIGIN test.soa
+@ SOA new.soa admin 1691222000 86400 3600 0 3600
+
+<<< Remove_SOA
+$ORIGIN test.soa
+@ SOA test.soa root 1691222000 86400 3600 0 3600