Add ref to 4592 and tests it

This commit is contained in:
Miek Gieben 2012-02-15 10:28:55 +01:00
parent c657499f8a
commit 542ca8ed6d
2 changed files with 4 additions and 1 deletions

View File

@ -66,6 +66,7 @@ All of them:
* 4255 - SSHFP
* 4408 - SPF
* 4509 - SHA256 Hash in DS
* 4592 - Wildcards in the DNS
* 4635 - HMAC SHA TSIG
* 4892 - id.server
* 5001 - NSID

View File

@ -130,7 +130,9 @@ z3.miek.nl. IN NSEC miek.nl. TXT RRSIG NSEC`
}
func TestDomainName(t *testing.T) {
tests := []string{"r\\.gieben.miek.nl.", "www\\.www.miek.nl."}
tests := []string{"r\\.gieben.miek.nl.", "www\\.www.miek.nl.",
"www.*.miek.nl.", "www.*.miek.nl.",
}
dbuff := make([]byte, 40)
for _, ts := range tests {