Commit Graph

2605 Commits

Author SHA1 Message Date
Miek Gieben 86186e27e4 Just use Read 2013-10-12 18:47:11 +01:00
Miek Gieben aa44c75b91 Merge net branch 2013-10-12 18:32:53 +01:00
Miek Gieben 68083bc956 Fix merge conflict from net branch 2013-10-12 17:59:46 +01:00
Miek Gieben b0d5dadf17 Dont print status when there was an xfr error 2013-10-12 16:30:02 +01:00
Miek Gieben 5b8fa0f1f6 Update the documentation 2013-10-12 16:26:25 +01:00
Miek Gieben 6dc58c11bd Fix outgoing axfr and make reflect use it. 2013-10-12 16:12:21 +01:00
Miek Gieben f3d8fc6c34 Fix tsig tests and tweak q 2013-10-12 15:35:26 +01:00
Miek Gieben 675f170a3d Fix axfr tsig 2013-10-12 14:00:10 +01:00
Miek Gieben 66aa54ec21 Fully qualify the axfr name 2013-10-12 13:45:35 +01:00
Miek Gieben 4ba209c81a Fully qualify the axfr name 2013-10-12 13:44:44 +01:00
Miek Gieben d0818e2321 Make q print number of envelopes when doing axfr 2013-10-12 13:27:03 +01:00
Miek Gieben 7691523300 Re-add ExchangeConn
ExchangeConn is back, but with a warning. Other various improvements.
2013-10-12 12:44:02 +01:00
Miek Gieben 97603e3f62 Readd ExchangeConn 2013-10-12 12:35:09 +01:00
Miek Gieben 3ca767d2eb Fix incoming axfr 2013-10-12 12:32:14 +01:00
Miek Gieben 77d78f3218 More xfr fixes, does not work yet 2013-10-11 22:34:04 +01:00
Miek Gieben 05e5e586b5 Fix xfr some more 2013-10-11 20:10:57 +01:00
Miek Gieben f9fa2d2c0c make these methods privates 2013-10-11 16:40:15 +00:00
Miek Gieben 20d70617f4 Merge branch 'master' of github.com:miekg/dns 2013-10-11 16:37:12 +00:00
Miek Gieben ca3c488ad8 Fix transfer 2013-10-11 16:36:37 +00:00
Miek Gieben b987dc6246 More transfer stuff 2013-10-11 16:18:37 +00:00
Miek Gieben 5868ba4cc8 Partial changes for xfr 2013-10-10 19:01:35 +00:00
Miek Gieben 0c9c6530bf Merge pull request #59 from tstromberg/patch-1
Fix "go build" path typo.
2013-10-07 13:08:15 -07:00
Thomas Stromberg becfcb4d89 Fix "go build" path typo. 2013-10-07 13:02:55 -07:00
Miek Gieben 7df4ff2b12 update the documentation 2013-10-07 09:27:42 +00:00
Miek Gieben 403baeb73a Rework the transfers stuff 2013-10-02 20:35:13 +01:00
Miek Gieben af4ef472c0 Comment out xfr tests
AXFR broke, because I removed the DNS server from my old server.
In the net branch I plan to refactor all this, so I'm not dealing with
it now here in the master branch.
2013-10-02 19:29:57 +01:00
Miek Gieben 2b51554878 Merge pull request #58 from gavaletz/master
Make DNS Client compatible with Google App Engine.
2013-10-02 11:27:53 -07:00
Eric Gavaletz de1a10559b Still more patching for GAE compatibility.
After removing some of the server files from the GAE build we hit
another undefined: ResponseWriter.
2013-10-02 11:56:56 -04:00
Eric Gavaletz 41945815b8 Further patching for GAE compatibility.
Since net.ListenTCP, net.ListenUDP and net.TCPListener are not defined
in the GAE standard library these build flags will stop those files from
being imported.  A better solution would have been to break up this
monolithic package into smaller parts.
2013-10-02 11:50:35 -04:00
Eric Gavaletz 7f3472cc74 Patching to make compatible with appengine/socket.
The interface conversion from socket.Conn to net.UDPConn fails, but
since you can use a generic Read(b) in place of ReadFromUDP(b) it makes
sense to git rid of the conversion to net.UDPConn.  This change allows
the use of the client library for UDP DNS lookup using the
appengine/socket package's Conn.

For the same reasons the interface conversions for TCP connections were
also removed.
2013-10-02 11:41:26 -04:00
Miek Gieben 1e0d11ad8f Merge branch 'master' of github.com:miekg/dns 2013-10-01 10:27:26 +00:00
Miek Gieben fc7a8472dc isnt used 2013-10-01 10:27:08 +00:00
Miek Gieben f938bc70df Remove long deprecated functions too 2013-09-30 20:24:18 +01:00
Miek Gieben db3de29edc doc updates 2013-09-29 20:30:04 +01:00
Miek Gieben b06d42f1d7 correct documentation 2013-09-29 11:50:09 +01:00
Miek Gieben b02f1b5203 Add Timeouts back in.
Fix the timeouts
2013-09-29 11:46:39 +01:00
Miek Gieben bf37f92d4a Some test tweaking 2013-09-29 11:30:03 +01:00
Miek Gieben 500a32e64f Update all the tests 2013-09-29 11:26:02 +01:00
Miek Gieben 9a38f97391 Fix timeouts, Tsig and EDNS0 update size 2013-09-29 11:21:18 +01:00
Miek Gieben b97b3340fb Make TSIG work again
Start fixing and using the UDP bufsize option.
2013-09-29 10:22:27 +01:00
Miek Gieben a743ae8b68 Some more changes.
Still pondering dns.Conn and a dns.Dial
2013-09-28 22:16:15 +01:00
Miek Gieben 140e525195 More documentation 2013-09-28 22:05:48 +01:00
Miek Gieben 69dcbaeece Remove xfr 2013-09-28 22:01:02 +01:00
Miek Gieben 4bde528be5 Export dns.Conn and make it more like net.Conn
Export lowlevel function and types so that they may be used.
They higher level Exchange function is still there. ExchangeConn
is gone, because it is not needed.
2013-09-28 21:58:08 +01:00
Miek Gieben 31b43187fd add some doc and todo 2013-09-28 20:32:38 +01:00
Miek Gieben 22977491c3 Try to use Conn 2013-09-28 20:31:29 +01:00
Miek Gieben 67065da09c Fix the CAA type 2013-09-27 08:51:20 +00:00
Miek Gieben 4e6b3a5afc Check for the end of the message 2013-09-22 19:35:10 +01:00
Miek Gieben 007c0f06e4 Return as the last statement
Be compatible with older go releases.
2013-09-20 20:24:58 +01:00
Miek Gieben d41d87df59 Merge pull request #56 from abh/whitespace
Whitespace cleanup
2013-09-20 12:17:15 -07:00