aboutsummaryrefslogtreecommitdiff
path: root/testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone')
-rw-r--r--testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone23
1 files changed, 23 insertions, 0 deletions
diff --git a/testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone b/testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone
new file mode 100644
index 000000000000..f5eba1fbb9ea
--- /dev/null
+++ b/testdata/blanks_https.tdir/127.0.0.1/blanks.example.com.zone
@@ -0,0 +1,23 @@
+; Test if the zone parser accepts various blank lines
+@ IN SOA ns1.example.com dnsmaster.example.com. (
+ 1 ; Serial
+ 7200 ; Refresh 2 hours
+ 3600 ; Retry 1 hour
+ 2419200 ; expire - 4 weeks
+ 3600 ; Minimum 1 hour
+)
+ 7200 IN NS ns1
+ns1 IN A 192.0.2.1
+ IN AAAA 2001:dbb::1
+; completely blank line
+
+; line with one space
+
+; line with one tab
+
+; line with spaces followed by comment
+ ; test comment
+; line with tabs followed by comment
+ ; test comment
+; Final line with spaces, tabs and comment
+ ; test comment