Commit Graph

961 Commits

Author SHA1 Message Date
Miek Gieben eddd1d33d1 Create my own parser 2011-12-14 09:00:39 +01:00
Miek Gieben f1ff334ab1 Rename DefaultTTL to DefaulTtl
This is more inline with the rest
2011-12-14 08:42:53 +01:00
Miek Gieben 94ff056c2f Fix the tests for the latest weekly 2011-12-10 20:54:26 +01:00
Miek Gieben 3630c09446 Small tweak to the todo 2011-12-10 14:35:27 +01:00
Miek Gieben ae17028dd0 Use fqdns 2011-12-09 22:45:13 +01:00
Miek Gieben 131f6962d1 gofmt 2011-12-09 21:45:57 +01:00
Miek Gieben 2e0a4a5e34 Allow A records without Rdata 2011-12-09 21:42:49 +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 92736e2a8a Dont create a new type for updates 2011-12-09 20:56:59 +01:00
Miek Gieben d5c309e8d8 Dont append the default port to the nameservers 2011-12-09 16:13:59 +01:00
Miek Gieben 17d3f12d31 Fix NSEC presentation 2011-12-09 16:11:37 +01:00
Miek Gieben 88c12387f9 Fixes 2011-12-09 16:07:17 +01:00
Miek Gieben 794ad60217 shorten it even more 2011-12-09 16:01:59 +01:00
Miek Gieben 96cbd9420c add privatedns/oid 2011-12-09 16:00:41 +01:00
Miek Gieben ad11f2425e export Unpack/PackDomainName 2011-12-09 15:58:36 +01:00
Miek Gieben 11c7307b5b Fixes for the error type 2011-12-09 15:57:28 +01:00
Miek Gieben de1ee51809 First pass of updating tests 2011-12-09 15:47:41 +01:00
Miek Gieben b8f31fd915 Merge branch 'master' of github.com:miekg/godns 2011-12-09 11:17:45 +01:00
Miek Gieben e115e5da6e Update to the latest weekly: weekly/weekly.2011-12-06
The new time API must still be used. But for now it compiles.
All DNSSEC/TSIG timing is probably broken
2011-12-09 11:16:49 +01:00
Miek Gieben b40b34c37a Merge pull request #7 from dustywilson/patch-1
RRsetDeleteRR must set TTL to 0 otherwise BIND rejects with "FORMERR"
2011-12-06 03:47:23 -08:00
Dusty Wilson 564a0fe2e0 RRsetDeleteRR must set TTL to 0 otherwise BIND rejects with a "FORMERR" error when attempting to delete.
The file named/update.c.html in the BIND project tests the TTL immediately after seeing that "update_class == dns_rdataclass_none".  See also http://www.fiveanddime.net/bind-9/bind-9.3.1/bin/named/update.c.html and search for the above conditional.
2011-12-06 02:59:28 -08:00
Miek Gieben c9bb2e0617 Merge pull request #6 from taralx/master
gofmt
2011-11-28 00:59:18 -08:00
Taral c1889c778d gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
Miek Gieben 22a467e718 Fixes the latest weekly 2011-11-02 23:06:54 +01:00
Miek Gieben f00b7ec494 Fix EDNS/nsid
add it to the fingerprinting too
2011-09-26 09:32:24 +02:00
Miek Gieben 6e403621e1 Fix NSID (or OPT option code 3) 2011-09-26 09:11:14 +02:00
Miek Gieben 0f7bbd73e6 Use minor here 2011-09-21 14:38:16 +02:00
Miek Gieben 7363deccfe print it nicer 2011-09-21 14:34:42 +02:00
Miek Gieben f73eb899f0 better ordering 2011-09-21 14:28:57 +02:00
Miek Gieben da2e464de1 A lot of BIND specific checks 2011-09-21 14:22:43 +02:00
Miek Gieben a91881457e Start a cleanup 2011-09-21 11:35:20 +02:00
Miek Gieben 2c8dacf0c0 Trying to port some stuff from fpdns 2011-09-20 20:05:37 +02:00
Miek Gieben 7df6476d8f small helper function 2011-09-20 19:33:37 +02:00
Miek Gieben 2f74133d6a More test functions
Minor tweaks for timeouts in client.go
2011-09-20 18:15:36 +02:00
Miek Gieben 956ec9b962 set the timeouts 2011-09-20 17:40:13 +02:00
Miek Gieben ce778454c4 more functions 2011-09-20 16:11:24 +02:00
Miek Gieben 47beef5d45 Add some more functions 2011-09-20 15:56:51 +02:00
Miek Gieben 9e2bec0041 split off the questions 2011-09-20 14:59:28 +02:00
Miek Gieben 1a81ac9c85 NSID is broken 2011-09-20 12:52:23 +02:00
Miek Gieben acfb57879c detect it correctly 2011-09-20 10:22:35 +02:00
Miek Gieben db9de9584a add gitignore file 2011-09-20 10:21:17 +02:00
Miek Gieben 850a12ac8e Return a error when there is no conn, dont panic 2011-09-20 10:20:24 +02:00
Miek Gieben f8b01b366b basic fingerprint framework ready 2011-09-20 10:10:04 +02:00
Miek Gieben 8e71248212 It is working now 2011-09-20 10:04:42 +02:00
Miek Gieben 84c1eba6b7 Starts to work 2011-09-20 09:19:33 +02:00
Miek Gieben b9960f42ed tweaks 2011-09-19 22:58:36 +02:00
Miek Gieben e38ebda0cc It compiles 2011-09-19 22:41:38 +02:00
Miek Gieben fb68e29eb1 Create fp as a type 2011-09-19 22:27:56 +02:00
Miek Gieben 1b96a4413a added 2011-09-19 15:16:05 +02:00
Miek Gieben 7d73d6e9e1 Make opcode public and fix the IsEdns0 2011-09-19 13:34:16 +02:00