Commit Graph

4079 Commits

Author SHA1 Message Date
Miek Gieben 0040c9b30e More convience functions 2011-01-06 15:24:18 +01:00
Miek Gieben 7888cd96b8 edns ala dig
use the OPT pseudo header for NSID, ala bind
2011-01-06 15:06:06 +01:00
Miek Gieben a5100db599 Complete fix NSID
parsing/reading and setting al work now
2011-01-06 14:58:58 +01:00
Miek Gieben 08b6220c67 Make the edns api more Go like
Split the set/get function to a SetX() and X()
2011-01-06 10:24:00 +01:00
Miek Gieben b57613e8d8 Fix the examples so that they work with a nonresponding nameserver
Added some error checking
2011-01-03 12:30:19 +01:00
Miek Gieben 659fc455ba better error handling 2011-01-03 12:18:17 +01:00
Miek Gieben 4592abaeec fix TODO 2011-01-03 11:34:54 +01:00
Miek Gieben 97506dafe4 Fix the error handling
Added new type (copied from net package) dns.Error that carries
all errors
2011-01-03 11:29:04 +01:00
Miek Gieben d4059485d5 Add even more rcodes 2011-01-03 10:44:00 +01:00
Miek Gieben b052387f0d Can go 2011-01-02 20:08:48 +01:00
Miek Gieben df4dde5ad5 Add a zlutser program
validate an rrsig without checking the chain of trust
2011-01-02 20:07:45 +01:00
Miek Gieben ffe027b4b9 Its validating 2011-01-02 16:37:29 +01:00
Miek Gieben e1d0db4107 remove the variable here 2011-01-01 22:40:55 +01:00
Miek Gieben 84dfab0d7f more more more 2011-01-01 22:07:47 +01:00
Miek Gieben 0d1c52216b remove exe 2011-01-01 22:06:56 +01:00
Miek Gieben 2b3b9e349b fix readme 2011-01-01 22:05:37 +01:00
Miek Gieben 9976029ca6 Add install script for installation
Fix the examples for the new api
2011-01-01 22:03:41 +01:00
Miek Gieben 3a15a6534b update the todo 2011-01-01 21:40:37 +01:00
Miek Gieben 06a0389df2 update the TODO 2011-01-01 21:22:51 +01:00
Miek Gieben aeb1ce8d9c Fix the constnames 2011-01-01 20:51:34 +01:00
Miek Gieben dc56e5e4ff small tweaks to the docs 2011-01-01 20:01:49 +01:00
Miek Gieben 10bfb3d036 Complete the list of DNS q opcodes 2011-01-01 19:51:25 +01:00
Miek Gieben 439c64abc6 add axfr to the list of example progs 2011-01-01 19:33:01 +01:00
Miek Gieben 7c2de14b8d add TKEY and finalize TSIG
No crypto validation ofcourse... only the definition of the RRs
2011-01-01 19:26:08 +01:00
Miek Gieben 9b595ed836 Add axfr example prog 2011-01-01 19:10:07 +01:00
Miek Gieben b4a69fad37 Make the function on a resolver methods 2011-01-01 19:07:23 +01:00
Miek Gieben daf625264e Fix TCP sending
esp. when an imcomplete message is send back from the server.
Fix {A,I}XFR also
Add DNSError
2011-01-01 18:47:38 +01:00
Miek Gieben 43ebf75fac Fix XFR
The example test performs an axfr, but as ixfr differs slightly
it should also support ixfr
2011-01-01 17:42:13 +01:00
Miek Gieben 1c9282ed7e Framework for xfr started in resolver 2010-12-31 17:05:11 +01:00
Miek Gieben 82c954bead Rename the TSIG error codes 2010-12-31 15:20:56 +01:00
Miek Gieben 9155d632f5 add TSIG as a type 2010-12-31 15:10:42 +01:00
Miek Gieben 3de30d5834 incorperate axfr in the resolver 2010-12-31 14:27:20 +01:00
Miek Gieben 0dcdbe4361 Fix DNS over TCP
Actually send the 2 bytes length and also be prepared
to receive them.
2010-12-31 14:11:52 +01:00
Miek Gieben cc66917658 Add basic support for the LOC record 2010-12-30 20:55:25 +01:00
Miek Gieben 2decd91cb4 Add the NAPTR record 2010-12-30 20:50:31 +01:00
Miek Gieben bccabeaeda Fix the makefile 2010-12-30 20:01:33 +01:00
Miek Gieben c71d8e1495 First stab for strconv
This will later be extended to be a real parser.
Applied assorted tweaks
2010-12-30 20:00:26 +01:00
Miek Gieben 6730efb0f5 finish q.go 2010-12-30 18:56:12 +01:00
Miek Gieben 1357befafa add another rfc 2010-12-30 18:52:27 +01:00
Miek Gieben 1b362f5bd2 Copy from dig flags to q
q is a sample query app for Go dns
2010-12-30 18:48:29 +01:00
Miek Gieben acdab89120 Completely fix EDNS0 2010-12-30 18:42:40 +01:00
Miek Gieben ec2e732ad3 Better handle error in pack/unpacking 2010-12-30 17:15:59 +01:00
Miek Gieben b6244eaa04 update the Makefile 2010-12-30 16:49:42 +01:00
Miek Gieben 167492c6fa Use the new names for the header bits 2010-12-30 16:48:35 +01:00
Miek Gieben 1a1c16398c add pack_test 2010-12-30 16:45:10 +01:00
Miek Gieben 28f4189630 Add 'q' a dig-like program (only 100 lines of code) 2010-12-30 16:44:32 +01:00
Miek Gieben 9d1d7444a3 Some fixes from creating a dig-like program 2010-12-30 16:38:16 +01:00
Miek Gieben 9b745ab4d3 typos in comments 2010-12-30 15:22:13 +01:00
Miek Gieben 52a26798b7 dnssec: at least it does not crash
Crashes are fixed, but the signature validation does not work
2010-12-30 15:12:44 +01:00
Miek Gieben 2e77dbdfd2 fix the pack_test 2010-12-30 15:01:00 +01:00