Commit Graph

2975 Commits

Author SHA1 Message Date
Miek Gieben
145242b519 Cleanup the defer from serve()
Close the connection when returning.
2013-10-16 21:45:29 +01:00
Miek Gieben
075c815ff1 Fix udp handling
Make the Close() for the udp message a nop, as closing it would
close the udp listener.
Make the serve function simpler as this does not need to be in a
for-loop.
2013-10-16 21:38:11 +01:00
Miek Gieben
104d9bf0ba remove mutex here 2013-10-15 20:44:55 +01:00
Miek Gieben
2bc1cd1a2e Merge branch 'master' of github.com:miekg/dns 2013-10-15 20:35:35 +01:00
Miek Gieben
1e975f7d4c fix 2013-10-15 20:35:24 +01:00
Miek Gieben
b435d836c6 gofmt 2013-10-15 14:21:47 +00:00
Miek Gieben
79cce8e6c8 Small go vet issues 2013-10-15 14:21:32 +00:00
Miek Gieben
1c343223b5 Go over the documentation again 2013-10-15 13:42:24 +00:00
Miek Gieben
bc8f7bf80f gitignore update 2013-10-15 13:22:35 +00:00
Miek Gieben
90c19d384a add another rfc 2013-10-13 13:28:48 +01:00
Miek Gieben
221e0c0e4e some doc updates 2013-10-13 13:27:50 +01:00
Miek Gieben
35bcc78d76 Implement PX record 2013-10-13 13:23:02 +01:00
Miek Gieben
cc2c42cc91 Implement GPOS record 2013-10-13 13:01:33 +01:00
Miek Gieben
961e137891 Add NSAP and NSAP-PTR record 2013-10-13 12:25:08 +01:00
Miek Gieben
b7176f84ae update users 2013-10-13 11:33:49 +01:00
Miek Gieben
c4220dd22c clean the todo 2013-10-13 11:33:06 +01:00
Miek Gieben
5902b88b4a Put examples in their own repository
example repository is github.com:miekg/ex/dns
2013-10-13 11:23:14 +01:00
Miek Gieben
4862dd17b4 Slight doc updates 2013-10-12 19:19:24 +01:00
Miek Gieben
0134de62ed Fix TSIG/transfer documentation 2013-10-12 19:14:45 +01:00
Miek Gieben
76e7e3c9c4 fmt and documentation 2013-10-12 19:01:29 +01:00
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