Commit Graph

26 Commits

Author SHA1 Message Date
Miek Gieben e4fb00c34d Fix handling of non fully qualified domain names
When PackDomain sees such a name it calls panic.
All panic now use the prefix 'dns:'
2012-08-28 18:21:23 +02:00
Miek Gieben 8bc979fe1e make it compile 2012-08-28 13:30:59 +02:00
Miek Gieben cc1bb251cc length tests 2012-08-26 22:10:55 +02:00
Miek Gieben 1dffbeeee1 Fix IsSubDomain 2012-08-08 15:16:22 +02:00
Miek Gieben 025d0cecf4 Fix the test: EDNS0 is done completely different 2012-05-31 21:40:49 +02:00
Miek Gieben 99a7a57713 Upgrade the definition of domain name 2012-02-28 20:47:25 +01:00
Miek Gieben e816e64e3e doc tweaks, Len() tweaks 2012-02-28 20:43:08 +01:00
Miek Gieben 89c05b4f74 gofmt 2012-02-23 19:37:08 +01:00
Miek Gieben 63639e33f8 Add and test IsSubDomain function 2012-02-15 10:22:52 +01:00
Miek Gieben 6ddb9ab88b Txt record parsing works -- need to look at the on-the-wire stuff 2012-02-12 21:50:02 +01:00
Miek Gieben 0351073d8e Shorter function for SetUpdate and doc 2012-01-15 16:13:20 +01:00
Miek Gieben 0509df509e gofmt 2012-01-12 23:17:34 +01:00
Miek Gieben eb12c526f2 Add more tests 2012-01-11 21:03:47 +01:00
Miek Gieben f39d939f52 Fix compression
The compression was fixed. Also the packing of message is been speed
up, by a facter of 3. Now the packing happens once, instead of
3 times.

Two tests still fail. atm
2012-01-11 16:04:52 +01:00
Miek Gieben c64f506103 Remove a packStruct - should improve performance 2011-08-08 15:28:19 +02:00
Miek Gieben 4a8133eabd Fix the order of the test 2011-08-08 15:12:24 +02:00
Miek Gieben e21ae18160 Fix the tests too. They fail now btw; its on the TODO 2011-07-08 17:30:04 +02:00
Miek Gieben 70ab2eadb5 Add back the pack/unpack tests 2011-07-04 20:21:01 +02:00
Miek Gieben 8368f4ce60 Actually remove resolver.go 2011-07-04 20:19:44 +02:00
Miek Gieben 3067b91e18 Fix the tests some more -- need to configure it locally for it to work 2011-03-25 14:57:32 +01:00
Miek Gieben be6f2365cb Test compile again, but fail 2011-03-23 19:03:37 +01:00
Miek Gieben 7d9a16fbdc More TSIG stuff 2011-03-14 13:08:54 +01:00
Miek Gieben 920364aae4 Fixes for the testcases 2011-01-26 16:04:51 +01:00
Miek Gieben 7e1f9490f2 Cert RR added
PubKey is named PublicKey in the RR_DNSKEY
2011-01-25 13:57:54 +01:00
Miek Gieben 48cbf55a23 completely fix private key reading 2011-01-17 20:18:51 +01:00
Miek Gieben 7d96686820 add this test too 2011-01-16 20:09:32 +01:00