summaryrefslogtreecommitdiffstats
path: root/fuzz/dns_master_load.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:59:48 +0000
commit3b9b6d0b8e7f798023c9d109c490449d528fde80 (patch)
tree2e1c188dd7b8d7475cd163de9ae02c428343669b /fuzz/dns_master_load.in
parentInitial commit. (diff)
downloadbind9-3b9b6d0b8e7f798023c9d109c490449d528fde80.tar.xz
bind9-3b9b6d0b8e7f798023c9d109c490449d528fde80.zip
Adding upstream version 1:9.18.19.upstream/1%9.18.19upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fuzz/dns_master_load.in')
-rw-r--r--fuzz/dns_master_load.in/date.db21
-rw-r--r--fuzz/dns_master_load.in/generate-counter-overflow.dbbin0 -> 47 bytes
-rw-r--r--fuzz/dns_master_load.in/generate.db10
-rw-r--r--fuzz/dns_master_load.in/include.db8
-rw-r--r--fuzz/dns_master_load.in/minimal.db4
5 files changed, 43 insertions, 0 deletions
diff --git a/fuzz/dns_master_load.in/date.db b/fuzz/dns_master_load.in/date.db
new file mode 100644
index 0000000..62dd456
--- /dev/null
+++ b/fuzz/dns_master_load.in/date.db
@@ -0,0 +1,21 @@
+$TTL 300 ; 5 minutes
+@ SOA mname1. . (
+ 2000062101 ; serial
+ 20 ; refresh (20 seconds)
+ 20 ; retry (20 seconds)
+ 1814400 ; expire (3 weeks)
+ 3600 ; minimum (1 hour)
+ )
+ NS a1
+$DATE 20210101000000
+
+a1 123 A \# 4 0A000001
+a2 456 A \# 4 0A000001
+
+txt1 TXT \# 6 0568656C6C6F
+txt2 TXT "hello"
+txt3 TXT \# 6 0568656C6C6F
+txt4 TXT "hello"
+
+unk1 TYPE123 \# 1 00
+unk2 TYPE123 \# 1 00
diff --git a/fuzz/dns_master_load.in/generate-counter-overflow.db b/fuzz/dns_master_load.in/generate-counter-overflow.db
new file mode 100644
index 0000000..590c0d5
--- /dev/null
+++ b/fuzz/dns_master_load.in/generate-counter-overflow.db
Binary files differ
diff --git a/fuzz/dns_master_load.in/generate.db b/fuzz/dns_master_load.in/generate.db
new file mode 100644
index 0000000..8c2053d
--- /dev/null
+++ b/fuzz/dns_master_load.in/generate.db
@@ -0,0 +1,10 @@
+$ORIGIN .
+$TTL 120
+@ SOA tld4. hostmaster.ns.tld4. ( 1 3600 1200 604800 60 )
+ NS ns
+ns A 10.53.0.2
+$GENERATE 11-18 all$.a9 A 192.0.2.8
+$GENERATE 1-2 @ PTR SERVER$.EXAMPLE.
+$GENERATE 1-7 $ CNAME $.0
+$GENERATE 17-27 HOST-$ A 1.2.3.$
+$GENERATE 277-288 HOST-$ MX "0 ."
diff --git a/fuzz/dns_master_load.in/include.db b/fuzz/dns_master_load.in/include.db
new file mode 100644
index 0000000..b83d754
--- /dev/null
+++ b/fuzz/dns_master_load.in/include.db
@@ -0,0 +1,8 @@
+$ORIGIN .
+$TTL 120
+@ SOA tld4. hostmaster.ns.tld4. ( 1 3600 1200 604800 60 )
+ NS ns
+ns A 10.53.0.2
+$INCLUDE withoutorigin
+$INCLUDE withoutorigin origin
+
diff --git a/fuzz/dns_master_load.in/minimal.db b/fuzz/dns_master_load.in/minimal.db
new file mode 100644
index 0000000..54177a6
--- /dev/null
+++ b/fuzz/dns_master_load.in/minimal.db
@@ -0,0 +1,4 @@
+. SOA ns1. hostmaster.warn.example. (
+ 1 3600 1200 604800 3600 )
+ NS ns1.
+ns1. 555 IN A 10.53.0.1