Browse Source

Add NULL SRV record examples to unit tests

pull/668/head
Mark Tearle 5 years ago
parent
commit
45d5da23cf
2 changed files with 19 additions and 0 deletions
  1. +16
    -0
      tests/config/unit.tests.yaml
  2. +3
    -0
      tests/zones/unit.tests.tst

+ 16
- 0
tests/config/unit.tests.yaml View File

@ -36,6 +36,22 @@
- flags: 0
tag: issue
value: ca.unit.tests
_imap._tcp:
ttl: 600
type: SRV
values:
- port: 0
priority: 0
target: .
weight: 0
_pop3._tcp:
ttl: 600
type: SRV
values:
- port: 0
priority: 0
target: .
weight: 0
_srv._tcp:
ttl: 600
type: SRV


+ 3
- 0
tests/zones/unit.tests.tst View File

@ -20,6 +20,9 @@ caa 1800 IN CAA 0 iodef "mailto:admin@unit.tests"
; SRV Records
_srv._tcp 600 IN SRV 10 20 30 foo-1.unit.tests.
_srv._tcp 600 IN SRV 10 20 30 foo-2.unit.tests.
; NULL SRV Records
_pop3._tcp 600 IN SRV 0 0 0 .
_imap._tcp 600 IN SRV 0 0 0 .
; TXT Records
txt 600 IN TXT "Bah bah black sheep"


Loading…
Cancel
Save