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
Miek Gieben
94de3401fe
cleanups; rm unused stuff
2010-12-23 14:31:36 +01:00
Miek Gieben
6be0c49d98
update todo and remove dead code
2010-12-23 14:30:22 +01:00
Miek Gieben
f16ad2a7af
Add some helper function for ENDS
...
cleanups - starts to work. Still FORMERR on EDNS0 request, but
we are getting there
2010-12-23 14:27:04 +01:00
Miek Gieben
18afd5e536
EDNS is easy
...
Only the OPT RR needs to be supported
2010-12-23 14:07:35 +01:00
Miek Gieben
8302d19b42
At least it gives formerr now
2010-12-23 11:02:01 +01:00
Miek Gieben
4668b309e2
seems to have a working edns impl
2010-12-23 10:43:10 +01:00
Miek Gieben
25f2e3d7e8
Look at the domain to see if it is edns
...
throw this information back upwards so the
the Edns bool can be set.
2010-12-23 09:51:43 +01:00
Miek Gieben
1a50861b43
another stab at edns0
2010-12-22 23:05:21 +01:00
Miek Gieben
935155843c
added
2010-12-22 22:42:52 +01:00
Miek Gieben
4ce23b71cf
Fix the encoding a EDNS RR
...
Still need to handle the domain name packer, so that we can
detect we have an OPT RR, with the different encoding
2010-12-22 20:53:18 +01:00
Miek Gieben
0f05a2f434
Make a stab for EDNS
2010-12-22 12:26:50 +01:00
Miek Gieben
e650aae18b
EDNS impl.
...
Needs more work, especially in the handling of the
RR.Hdr which is diff. for EDNS rrs
2010-12-22 10:30:41 +01:00