Quotes in txt records work

This commit is contained in:
Miek Gieben 2011-02-21 21:32:12 +01:00
parent 65eaac0020
commit 65acd06370
2 changed files with 7 additions and 1 deletions

1
TODO
View File

@ -11,6 +11,5 @@ Longer term:
* Test impl of nameserver, with a small zone, 1 KSK and online signing
Issues:
* quoted quotes in txt records
* Check the network order, it works now, but this is on Intel??
* Make the testsuite work with public DNS servers

View File

@ -156,3 +156,10 @@ func TestDotInName(t *testing.T) {
t.Fail()
}
}
func TestQuotedTxt(t *testing.T) {
x := new(RR_TXT)
x.Hdr = RR_Header{"miek.nl.", TypeTXT, ClassINET, 14400, 0}
x.Txt = "Hello, \"Goodbye\""
// TODO
}