Commit Graph

110 Commits

Author SHA1 Message Date
Miek Gieben
500a32e64f Update all the tests 2013-09-29 11:26:02 +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
2b6e9122bd Use the better name: SingleInflight 2013-09-06 09:49:07 +00:00
Miek Gieben
cb9ec711f5 Add (failing) test for zero rdata 2013-08-25 21:38:10 -07:00
Miek Gieben
bb71be0271 Implement outstanding query detection.
Copied from the standard library and adapted to Go DNS.
2013-08-24 02:28:58 +00:00
Miek Gieben
c66494c6c5 Resolv merge conflicts 2013-05-12 19:08:37 +02:00
Miek Gieben
f595bf7a06 Set license on test files 2013-05-12 16:09:52 +02:00
Miek Gieben
da9a970a5e Fix the newer names for EDNS0 2013-05-09 08:27:49 +02:00
Miek Gieben
235e892dfc Rename the RR types drop the RR_ prefix
This is also done in the official Go library. It also make the
code shorter.
2012-12-09 19:23:25 +01:00
Miek Gieben
2d1d1303c1 Update the tests 2012-12-02 09:31:42 +01:00
Miek Gieben
49ca0cd3df remove async test as we no longer have that function 2012-11-19 19:25:55 +01:00
Miek Gieben
0cb7706e03 Use my new static ip address 2012-11-19 16:19:17 +01:00
Miek Gieben
4e2af5cdb1 gofmt 2012-11-19 16:17:13 +01:00
Miek Gieben
fa8a5e5757 Fix the tests + gofmt 2012-11-19 16:15:03 +01: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
Alex Polvi
ec8d3d51d1 initial stab at edns update lease http://files.dns-sd.org/draft-sekar-dns-ul.txt 2012-10-15 18:37:19 +01:00
Miek Gieben
10a349423c Fix tests and tsig in the process 2012-10-09 22:45:19 +02:00
Miek Gieben
b90200a0df Fix test 2012-08-31 14:59:56 +02:00
Miek Gieben
1dffbeeee1 Fix IsSubDomain 2012-08-08 15:16:22 +02:00
Miek Gieben
2a69247960 gofmt 2012-05-26 10:28:40 +02:00
Miek Gieben
9c4c5f5369 remove NewClient from the code 2012-05-26 10:28:32 +02:00
Miek Gieben
39f0ff4e7c fix test 2012-05-21 22:07:46 +02:00
Miek Gieben
06d424549e Make the default async queries more simpler to use
If you don't want to setup your own channels things should
now be simpler. Still the power for eleborate setups is there.
2012-05-21 20:58:41 +02:00
Miek Gieben
e11c077112 Fix the testcode 2012-05-20 12:44:49 +02:00
Miek Gieben
31a477a515 Fix the tests 2012-05-07 15:54:14 +02:00
Miek Gieben
2ae73f6fc6 Update to the new apip 2012-05-05 17:41:40 +02:00
Miek Gieben
387e6f1c49 Fix the testcases 2012-03-04 22:35:48 +01:00
Miek Gieben
c5465127f3 Fix non tsig queries 2012-03-02 21:19:37 +01:00
Miek Gieben
898a2a664a Some tweaks in the tests 2012-03-02 20:41:51 +01:00
Miek Gieben
0509df509e gofmt 2012-01-12 23:17:34 +01:00
Miek Gieben
7f6a5f4497 Its isnt slow 2012-01-12 21:32:50 +01:00
Miek Gieben
2143ce0031 Fix the tests, but they now fail 2012-01-11 14:44:54 +01:00
Miek Gieben
758f0f9ce3 Fix the client_test 2012-01-11 14:22:49 +01:00
Miek Gieben
e522a6daf7 Make all tests fully qualified 2012-01-08 15:34:42 +01:00
Miek Gieben
94ff056c2f Fix the tests for the latest weekly 2011-12-10 20:54:26 +01:00
Miek Gieben
05eb569938 Test and fix dynamic updates
* Update to the new Go version
* Fix lot of things that need fixes

Need a why to communicate half RRs (i.e. A record without rdata)
2011-12-09 21:12:03 +01:00
Miek Gieben
de1ee51809 First pass of updating tests 2011-12-09 15:47:41 +01:00
Taral
c1889c778d gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
Miek Gieben
d814a20623 test multiple messages 2011-09-11 17:01:55 +02:00
Miek Gieben
1f03789dcb edns0 helper funtions 2011-09-11 13:01:18 +02:00
Miek Gieben
74935417e6 Remove dead code from the test 2011-09-11 01:37:59 +02:00
Miek Gieben
f252e2f3f0 Add documentation and fix the tests for TSIG
Everything is working, I get a complete TSIG verified AXFR from
miek.nl.
2011-09-11 01:37:06 +02:00
Miek Gieben
3be73fcea9 Tsig fixes
make tsig easier to use and even transparant when using the API
2011-09-11 01:10:47 +02:00
Miek Gieben
356b532385 Things start to work again. Now axfr and tsig 2011-09-11 00:33:13 +02:00
Miek Gieben
e4acc12f44 Remove debugging code 2011-09-11 00:32:00 +02:00
Miek Gieben
313640276f Make async querying work again 2011-09-11 00:31:03 +02:00
Miek Gieben
c939840fb2 Fix the examples
Esp. those using xfr functions
2011-09-10 21:37:57 +02:00
Miek Gieben
406edadf20 Make the tests compile again 2011-09-10 21:22:42 +02:00
Miek Gieben
472935c3d2 Fix test 2011-08-08 13:21:18 +02:00
Miek Gieben
da0603089a gofmt -w 2011-07-23 23:43:43 +02:00
Miek Gieben
55a459b61c add edns0 test 2011-07-06 08:51:51 +02:00
Miek Gieben
23687174b2 Fix test compile 2011-07-05 21:09:48 +02:00
Miek Gieben
f53ca4bfc3 add TSIG axfr test, still needs work though 2011-07-05 20:52:35 +02:00
Miek Gieben
73cad7898b gofmt 2011-07-05 20:01:17 +02:00
Miek Gieben
60c66fa9ad fix chaos
Perform the a and aaaa query in parallel
2011-07-04 23:33:06 +02:00
Miek Gieben
5721b8ff79 more resolver fixes, also in the tests 2011-07-04 22:31:07 +02:00
Miek Gieben
9b6f66c1bb panic when no client handler is found 2011-07-04 22:27:23 +02:00
Miek Gieben
dd2b4e5b35 adapt chaos.go to the new api 2011-07-04 21:21:47 +02:00
Miek Gieben
7b4a5eca06 fix key2ds.go 2011-07-04 20:57:19 +02:00
Miek Gieben
466291701c add sync. client test 2011-07-04 20:18:51 +02:00