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
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
403baeb73a
Rework the transfers stuff
2013-10-02 20:35:13 +01: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
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
Miek Gieben
8eb72eea8a
Add .
2013-09-12 09:03:09 +01:00
Miek Gieben
08e7365dc2
Make SplitLabels faster
...
don't allocate a new string at all, it does not matter is the given
string is not fully qualified.
2013-09-12 08:57:37 +01:00
Miek Gieben
b76ac5bde6
Fix the test
2013-09-12 08:14:42 +01:00
Miek Gieben
ee8ace0477
Merge branch 'master' of github.com:miekg/dns
2013-09-11 08:22:23 +01:00
Miek Gieben
32b15d1807
Add more IsDomainName tests
2013-09-11 08:22:20 +01:00
Miek Gieben
9c1ee5d5ca
Update IsDomainName
...
This new functions just compiles the domain to wire format, if that
works, the name is deemed OK. It is also much less strict than the
older code. Almost everything is allowed in the name, except two
dots back to back (there is an explicit test for that).
2013-09-10 18:09:22 +00:00
Miek Gieben
9c72d3aa52
Fix docs
2013-09-10 13:21:55 +00:00
Miek Gieben
47cc5b052d
Work on making IsDomainName better
2013-09-10 13:13:10 +00:00
Miek Gieben
506b3590c9
Update readme
2013-09-09 22:42:24 +01:00
Miek Gieben
a5ac1f46ee
...and fix the imports for the test files
2013-09-09 22:20:48 +01:00
Miek Gieben
81d35ce537
Move some functions to the correct file
...
DNSSEC tests go in dnssec_test.go
2013-09-09 22:19:24 +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
f5aa2e8e29
Merge branch 'master' of github.com:miekg/dns
2013-09-04 20:03:23 +01:00