Commit Graph

209 Commits

Author SHA1 Message Date
Miek Gieben 0aa3021a83 Remove all copyright notices
Use the central COPYRIGHT file.
2014-09-11 20:57:37 +01:00
Miek Gieben b6da65c4b0 typo in the docs 2014-09-11 08:49:16 +01:00
Miek Gieben 18c150f21a zoneMatch is not used 2014-08-30 15:09:01 +01:00
Miek Gieben 4dd48338af documentation tweaks 2014-07-30 07:35:06 +01:00
Miek Gieben b7a8c14d7d Add dns.Name as a type
This can be used for printing names.
2014-04-23 21:06:17 +01:00
Miek Gieben 6295f64c1c Make sprintDomain public as NameToString 2014-04-23 20:58:55 +01:00
Andrew Tunnell-Jones bd189318ed Document domain name and TXT escaping behaviour 2014-03-02 10:38:46 +00:00
Andrew Tunnell-Jones 3f834a04fb Update domain name and TXT string escape behaviour
Changes to domain name packing and unpacking:
* Escape dot, backslash, brackets, double-quote, semi-colon and space
* Tab, line feed and carriage return become \t, \n and \r

Changes to TXT string packing and unpacking:
* Escape backslash and double-quote
* Tab, line feed and carriage return become \t, \n and \r
* Other unprintables to \DDD

Stringers do the equivalent of putting domain names and TXT strings
to the wire and back.

There is some duplication of logic. I found performance suffered when
I broke the logic out into smaller functions. I think this may have
been due to functions not being inlined for various reasons.
2014-02-26 10:55:11 +00:00
Miek Gieben 87b380cad5 Revert "Use dLen for domain name length"
This reverts commit b595183834.

Fix up the tests too.
2014-02-14 20:20:22 +00:00
Miek Gieben b595183834 Use dLen for domain name length 2014-02-12 12:50:16 +00:00
Brandon Philips 870c049f52 fix(dns.go): Pref is now Preference
Simple mistake from, what I guess, was an earlier API change.
2014-01-25 15:57:16 -08:00
Miek Gieben 37356f5e68 Documenation fixes 2014-01-12 10:43:59 +00:00
Miek Gieben 1c343223b5 Go over the documentation again 2013-10-15 13:42:24 +00:00
Miek Gieben b06d42f1d7 correct documentation 2013-09-29 11:50:09 +01:00
Miek Gieben 9a38f97391 Fix timeouts, Tsig and EDNS0 update size 2013-09-29 11:21:18 +01:00
Miek Gieben 140e525195 More documentation 2013-09-28 22:05:48 +01:00
Miek Gieben 2b6e9122bd Use the better name: SingleInflight 2013-09-06 09:49:07 +00:00
Miek Gieben 0adc9a3afe Update doc and TODO 2013-09-06 09:45:30 +00:00
Miek Gieben 70f9c6b964 Make err non-exported 2013-06-20 07:25:29 +01:00
Miek Gieben 8e68ad38d6 Use new stuff here too 2013-06-08 14:24:20 +01:00
Miek Gieben 15d8cdc5f9 Fix: the *dns.TXT instead of *TXT 2013-06-04 11:37:11 +02:00
Miek Gieben 98b677a97c Update the copy right for the original GO files 2013-05-12 16:07:06 +02:00
Miek Gieben d53d9eab81 gofmt 2013-05-05 20:30:44 +02:00
Miek Gieben d2551c5c84 Docs and todo update 2013-04-17 08:47:07 +01:00
Miek Gieben cd10853288 Make Len() and Copy() private
I don't think anybody will needs these, msg.Len() is still
available. Severly cuts back on the amount of exported functions.
2013-02-09 08:35:17 +01:00
Miek Gieben 78619c08e4 Make it a method 2013-01-31 09:52:34 +01:00
Miek Gieben 9357ac3eff docs 2013-01-30 15:56:29 +01:00
Miek Gieben 625de563d0 Convert an RR to its unknown representation 2013-01-30 15:55:50 +01:00
Miek Gieben 2e02b42558 Fix documentation too 2012-12-09 20:20:16 +01:00
Miek Gieben 2a3b818b95 Use much more descriptive names for the maps
Alg_str -> AlgorithmToString
 Rr_str  -> TypeToString

And for the reverse maps also.
2012-12-02 09:29:54 +01:00
Miek Gieben 8d6d7593b8 add some extra text 2012-12-01 22:54:35 +01:00
Miek Gieben c86d0c4331 tweak layout 2012-11-30 13:25:01 +01:00
Miek Gieben aaa65c0ae0 documentation 2012-11-20 10:10:09 +01:00
Miek Gieben 53bc98f2ca update docs 2012-11-19 18:14:52 +01:00
Miek Gieben e2ca025569 update documentation 2012-11-19 16:22:54 +01:00
Miek Gieben 76509f1f52 docs 2012-10-20 09:23:10 +02:00
Miek Gieben 19470ba22d Add a space 2012-10-09 22:16:28 +02:00
Miek Gieben 099c19d5b2 Fix errors 2012-10-09 20:25:25 +02:00
Miek Gieben 03a8bfbb88 uses struct embedding 2012-09-05 16:30:04 +02:00
Miek Gieben f51929ddfd doc tweaks 2012-09-03 14:03:04 +02:00
Miek Gieben 6058dce1db small correction 2012-09-03 12:36:03 +02:00
Miek Gieben 9a5ffa1038 fix merge conflict 2012-09-01 17:20:05 +02:00
Miek Gieben 853248eeb4 documentation 2012-09-01 11:35:00 +02:00
Miek Gieben 08c58cc63f small doc typos 2012-08-31 23:04:59 +02:00
Miek Gieben 9d002abc8c typos 2012-08-31 22:23:49 +02:00
Miek Gieben 1a90efb5c4 fix docs 2012-08-31 21:00:58 +02:00
Miek Gieben 80038f2230 docs 2012-08-26 22:40:00 +02:00
Miek Gieben b96e6ac78d tweaks to the documentation 2012-08-24 09:35:33 +02:00
Miek Gieben 2d90a06ade use in 2012-08-24 08:57:33 +02:00
Miek Gieben de20557d38 Add extra docs 2012-08-24 08:56:28 +02:00