Ready for CoreDNS testing
This commit is contained in:
parent
772469d21b
commit
b79df4bf1d
9 changed files with 290 additions and 124 deletions
16
testdata/bad_cname_with_other.yaml
vendored
Normal file
16
testdata/bad_cname_with_other.yaml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
org:
|
||||
example:
|
||||
"@":
|
||||
- type: SOA
|
||||
value: ns1.example.com. admin.example.com. 1 1 1 1 1
|
||||
- type: A
|
||||
value: 192.0.2.100
|
||||
- type: AAAA
|
||||
value: 2001:db8::100
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
"ext":
|
||||
- type: CNAME
|
||||
value: example.com
|
||||
- type: A
|
||||
value: 1.1.1.1
|
||||
16
testdata/bad_glue_with_other.yaml
vendored
Normal file
16
testdata/bad_glue_with_other.yaml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
org:
|
||||
example:
|
||||
"@":
|
||||
- type: SOA
|
||||
value: ns1.example.com. admin.example.com. 1 1 1 1 1
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
delegated:
|
||||
"@":
|
||||
- type: NS
|
||||
value: ns1.delegated.example.org
|
||||
"ns1":
|
||||
- type: A
|
||||
value: 1.2.3.4
|
||||
- type: TXT
|
||||
value: foobar
|
||||
16
testdata/bad_ns_with_other.yaml
vendored
Normal file
16
testdata/bad_ns_with_other.yaml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
org:
|
||||
example:
|
||||
"@":
|
||||
- type: SOA
|
||||
value: ns1.example.com. admin.example.com. 1 1 1 1 1
|
||||
- type: A
|
||||
value: 192.0.2.100
|
||||
- type: AAAA
|
||||
value: 2001:db8::100
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
"ext":
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
- type: A
|
||||
value: 1.1.1.1
|
||||
14
testdata/bad_ns_with_subzone.yaml
vendored
Normal file
14
testdata/bad_ns_with_subzone.yaml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
org:
|
||||
example:
|
||||
"@":
|
||||
- type: SOA
|
||||
value: ns1.example.com. admin.example.com. 1 1 1 1 1
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
delegated:
|
||||
"@":
|
||||
- type: NS
|
||||
value: ns1.example.com
|
||||
subzone:
|
||||
- type: A
|
||||
value: 1.2.3.4
|
||||
9
testdata/zones.yaml
vendored
9
testdata/zones.yaml
vendored
|
|
@ -59,6 +59,15 @@ com: # Comment
|
|||
- type: NS
|
||||
ttl: 3600
|
||||
value: ns2.example.org
|
||||
client:
|
||||
"@":
|
||||
- type: NS
|
||||
ttl: 3600
|
||||
value: ns1.client.example.com
|
||||
ns1:
|
||||
- type: A
|
||||
ttl: 3600
|
||||
value: 192.0.2.3
|
||||
folders: !include nested/zone.yaml
|
||||
org:
|
||||
example: !include example.org.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue