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
Ask Bjørn Hansen
8418a22857
Whitespace cleanup
2013-09-20 08:15:27 -07:00
Miek Gieben
6d02134e2d
Doc update
2013-09-20 08:37:22 +01:00
Miek Gieben
3002fc6d40
Merge pull request #55 from abh/edns0-subnet-new-option-code
...
Support the new RFC6891 EDNS0 SUBNET option code
2013-09-20 00:34:55 -07:00
Ask Bjørn Hansen
55c1f95213
Support the new RFC6891 EDNS0 SUBNET option code
...
Also keep support for the old draft code
2013-09-19 22:31:28 -07:00
Miek Gieben
0ff70b800b
Merge pull request #54 from tonnerre/debian-fixes
...
Fix for typo in message in zscan_rr
2013-09-16 08:29:26 -07:00
Tonnerre LOMBARD
dc79aa0c5a
Fix for typo in message in zscan_rr:
...
Adress is spelled with an insufficient number of ds.
2013-09-15 03:55:10 +02:00
Miek Gieben
1f586fdcda
Fixup PrevLabel and add a test
2013-09-12 09:58:42 +01:00
Miek Gieben
4ba292d8b6
Add a PrevLabel function to count back from the right
2013-09-12 09:36:39 +01:00
Miek Gieben
c67fc3a2a1
Add more tests for the labels
2013-09-12 09:18:54 +01:00
Miek Gieben
9764818db3
Make CountLabel faster
...
We don't need an allocation here, it works ok for non-fqdns and fqdns
2013-09-12 09:11:19 +01:00
Miek Gieben
b663a82eb3
Move deprecated function to the bottom of the file
2013-09-12 09:07:27 +01:00