Commit Graph

4041 Commits

Author SHA1 Message Date
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
Miek Gieben b51688191c minor cleanups 2010-12-30 14:18:13 +01:00
Miek Gieben bcf320aad4 rename the examples dir
Make it *not* show up in godoc
2010-12-30 14:13:28 +01:00
Miek Gieben 15dd65171b Split the package in multiple packages
dns - the standard rrtypes and such
    dnssec - validation, keytag calculation, etc
    resolver - for talking to servers
2010-12-30 13:42:52 +01:00
Miek Gieben bc624181dc More dnssec stuff added 2010-12-30 09:24:40 +01:00
Miek Gieben ac43aed00f Extracted the pubkey from a DNSKEY record 2010-12-29 16:34:53 +01:00
Miek Gieben 504ab27f6f en weer terug 2010-12-29 16:12:01 +01:00
Miek Gieben de5b30f781 zo dan 2010-12-29 16:11:23 +01:00
Miek Gieben 1b5608d373 update the readme a little 2010-12-28 15:44:19 +01:00
Miek Gieben 5ced9e2152 almost ready for DNSSEC validation
only need call the crypto/rsa func
2010-12-28 14:57:30 +01:00
Miek Gieben 0cea39ac49 Second stab a DNSSEC validation
- still need: sorting, numOfLabels, wildcard handling
2010-12-28 10:40:20 +01:00
Miek Gieben fc2373cd15 more more more 2010-12-28 10:18:10 +01:00
Miek Gieben e339e8bce6 more tests 2010-12-28 10:17:27 +01:00
Miek Gieben c1d45f507e First stab at DNSSEC validation 2010-12-28 09:49:45 +01:00
Miek Gieben d0d1847b61 add dnssec testing 2010-12-28 09:43:33 +01:00
Miek Gieben 4ed14b9785 More cleansup and robustness
* make the resolver more robust
* more dnssec functions
2010-12-28 09:41:54 +01:00
Miek Gieben 73cc848e00 remove these files, stay lean and mean 2010-12-28 08:29:17 +01:00
Miek Gieben f9f20203ad fix the tests 2010-12-27 14:32:12 +01:00
Miek Gieben 7f88c92f0f Fix EDNS0 (OPT_RR) printing 2010-12-27 14:31:31 +01:00
Miek Gieben 8dbefdd3f1 Add key2ds conversion
More DNSSEC pieces are coming together
2010-12-27 13:56:58 +01:00
Miek Gieben 36b181f65a Add keytag calculation
Still slow, but it is working. Added testcase for this too
2010-12-27 12:49:48 +01:00
Miek Gieben 830b2eae29 add hex encoding for DS record
* some more edns finishing touches
2010-12-27 09:58:45 +01:00
Miek Gieben b634118257 add function prototype for to be implemented functions 2010-12-25 13:13:32 +01:00
Miek Gieben d6efd37302 Some cleanup 2010-12-25 13:09:27 +01:00
Miek Gieben 70552b49ca More stuff added, first stab at using hashing functions 2010-12-25 11:43:12 +01:00
Miek Gieben 65caf6f891 Documentation!
Make the packet documentation much nicer.
2010-12-25 11:14:11 +01:00
Miek Gieben 7d4a26deac chaos
also ask for hostname.bind
2010-12-24 17:26:40 +01:00
Miek Gieben 9d6de8476c Add another example: chaos
Show the version and hostname.bind
2010-12-24 17:21:11 +01:00
Miek Gieben b0d68e5fa9 add first stab at str conversion 2010-12-24 15:53:17 +01:00
Miek Gieben c6e16cc054 Add examples
Completely modules after the examples of ldns.
Fist example is 'mx', print out the MX records of a domain.
More are coming, each is used to fine-tune the dns api
2010-12-24 12:43:53 +01:00
Miek Gieben fd9afcb44d Add signature helper function
Do this in dnssec.go so that all DNSSEC stuff in contained
in that file.
Add testing too
2010-12-24 11:50:42 +01:00
Miek Gieben 92d09fcfc1 prepare stuff for DNSSEC 2010-12-24 10:59:15 +01:00
Miek Gieben 26f62197ba Types should be usable with the Go type system 2010-12-23 17:16:28 +01:00
Miek Gieben 7d0a9dd4ca remove debugging code 2010-12-23 17:13:10 +01:00
Miek Gieben d1e5b182a7 remove some debugging code 2010-12-23 17:10:06 +01:00
Miek Gieben 04a18e9937 Define NSEC3 and NSEC and NSEC3PARAM RRs
Those come with new rdata-types that still needs to be impl.
2010-12-23 16:37:54 +01:00
Miek Gieben fc8da9eec2 more changes 2010-12-23 14:58:29 +01:00
Miek Gieben e5a394b97e more printing tweaks for OPT 2010-12-23 14:43:26 +01:00
Miek Gieben e32a3784f2 more cleaning 2010-12-23 14:33:08 +01:00