Commit Graph

2245 Commits

Author SHA1 Message Date
Miek Gieben 9edf63c26a Rtt is always returned 2012-11-18 13:53:36 +01:00
Miek Gieben a0b6e30da7 Fix chaos.go for the new api 2012-11-18 13:51:42 +01:00
Miek Gieben 553b780257 Rearrange some comments 2012-11-18 13:28:16 +01:00
Miek Gieben b34501bc1a add remark 2012-11-18 13:12:11 +01:00
Miek Gieben cbf025827a Fix the documentation 2012-11-18 13:03:11 +01:00
Miek Gieben ccaa90b31e Make client.Do() return a channel (ala time.NewTicker)
This new API finally makes sense, and ditches the callback
2012-11-18 12:50:22 +01:00
Miek Gieben 099d0c1fc7 Add exchange structure for the client 2012-11-18 12:33:56 +01:00
Miek Gieben 3c3d2af072 Remove the Rtt variants 2012-11-18 12:29:40 +01:00
Miek Gieben 267cfaab11 Make ResponseWriter a io.Writer
The WriteBuf() is renamed Write() and returns and int and
an error. The old Write() call, is now WriteBuf()
2012-11-18 12:21:02 +01:00
Miek Gieben 00c4f46c7e Make WriteBuf ala io.Write 2012-11-18 12:05:18 +01:00
Miek Gieben 314a0eebcc Add support for L32, NID, L64 and LP records 2012-11-18 10:29:05 +01:00
Miek Gieben a95de22bc3 Pref -> Preference for all types that have one 2012-11-18 09:13:43 +01:00
Miek Gieben 5afca3330b Add tests and uppercase output of L64 2012-11-18 09:10:28 +01:00
Miek Gieben 85366b595b Fix presentation format 2012-11-17 23:01:35 +01:00
Miek Gieben c1ae9a3039 Also parse L32 2012-11-17 22:02:22 +01:00
Miek Gieben 702510bc0d Also parse L32 2012-11-17 22:01:45 +01:00
Miek Gieben e2bc22cb43 Add LP record 2012-11-17 21:43:09 +01:00
Miek Gieben a509e3af80 Add L64 2012-11-17 21:37:15 +01:00
Miek Gieben 4aea3d193b Add L32 record 2012-11-17 21:32:02 +01:00
Miek Gieben 0c3a90193a Add the NID record 2012-11-17 21:26:48 +01:00
Miek Gieben bf85adb03e Fix \DDD printing and parsing 2012-11-15 14:26:08 +01:00
Miek Gieben 5cb0346b60 \DDD in PackDomain works
Unpacking does not insert \DDD yet
2012-11-15 13:51:15 +01:00
Miek Gieben 43cadb2ffd Add parse test for octects in the name 2012-11-15 09:39:32 +01:00
Miek Gieben 301cfde8e5 add comment 2012-11-13 08:31:06 +01:00
Miek Gieben c75bda1641 gofmt 2012-11-13 08:29:28 +01:00
Miek Gieben 6362e8c7fb update changelog 2012-11-13 08:27:27 +01:00
Miek Gieben fbe3e80256 Merge branch 'master' of github.com:miekg/dns 2012-11-09 10:47:45 +01:00
Miek Gieben 01d40f1a63 Its NextDo() 2012-11-09 10:45:11 +01:00
Miek Gieben 20a1a740c5 Check for @ begin used as origin in rdata 2012-11-09 10:34:51 +01:00
Miek Gieben 2999e6a509 Add check origin function 2012-11-08 23:10:31 +01:00
Miek Gieben 4e40ecee0b docs 2012-11-04 12:41:24 +01:00
Miek Gieben 20b8675868 Dont nest so deep. Used a goto for now 2012-11-04 09:32:24 +01:00
Miek Gieben 74cffb0578 Go comments 2012-11-04 09:27:23 +01:00
Miek Gieben b90e2e85d6 Go comments 2012-11-04 09:26:54 +01:00
Miek Gieben 48c41f56c9 More idomatic 2012-11-04 09:23:08 +01:00
Miek Gieben 708b4575ad Merge branch 'master' of github.com:miekg/dns 2012-11-04 09:03:18 +01:00
Miek Gieben af7b06069d Merge pull request #33 from bortzmeyer/master
Example program check-soa.go
2012-11-04 01:03:05 -07:00
Stephane Bortzmeyer e9dd8feb4f Go equivalent of the "DNS & BIND" book check-soa program 2012-11-03 23:14:11 +01:00
Miek Gieben 76509f1f52 docs 2012-10-20 09:23:10 +02:00
Miek Gieben dffb9a2a34 Uh I do want to see NXdomains 2012-10-19 14:16:24 +02:00
Miek Gieben 93ff832d5d use anonymous structs for the mutexes 2012-10-18 08:29:12 +02:00
Miek Gieben 31f2d2d545 docs 2012-10-17 14:00:41 +02:00
Miek Gieben c6e75de70e add Apex function, to access a zonesapex 2012-10-17 13:56:11 +02:00
Miek Gieben ea947838d8 Do the TCP write in one write
Before the tcp writes were done like NSD does them:
2 bytes length, and the rest of the message.

Now a complete buffer is created with LLMMM...MMM, where
LL is the 2 byte length and MMM...MMM is the message to be send.
This makes the reply faster at the cost of doing a realloc of the
message buffer.
2012-10-17 12:40:57 +02:00
Miek Gieben a811e314c0 small tweaks to the readme 2012-10-17 09:06:49 +02:00
Miek Gieben 1cca340f0b Use attemps also in the dial function 2012-10-17 09:05:26 +02:00
Miek Gieben bf1e1e15dc docs 2012-10-16 19:14:03 +02:00
Miek Gieben 60d891eba6 put const here 2012-10-16 13:48:43 +02:00
Miek Gieben 56221057d3 exchangeBuffer was and is not needed 2012-10-16 13:18:59 +02:00
Miek Gieben 9ca924a069 Rename dynamic update functions (again)
* Use simple names and add zone Remove function for dynamic update use.
* Locking 'n stuff is all taken care off
* TSIG is working and the duplicate code is removed.
* readClient and writeClient are renamed read and write, because that is
  what they do.
2012-10-16 10:41:20 +02:00