Miek Gieben
2431b84a3c
added DNAME
2011-01-25 13:47:12 +01:00
Miek Gieben
05c75c348b
Add funkenstorm
...
Added funkenstorm, only does stripping of additional section
Fix encoding of ipv4 addresses that are put in a 16 byte buffer (AAAA).
Just assume the last four bytes are ipv4 in that case
2011-01-21 12:55:35 +01:00
Miek Gieben
e544237d36
slightly better formatting of the flags in msg.String()
2011-01-18 19:19:42 +01:00
Miek Gieben
ec441e36e1
Add Meta data to the resolver
2011-01-18 15:44:30 +01:00
Miek Gieben
9eea4682fd
Fix documentation
2011-01-17 21:10:48 +01:00
Miek Gieben
5442276337
NSEC3PARAM record
2011-01-17 16:09:30 +01:00
Miek Gieben
e57dc24115
A simple responder nameserver
2011-01-17 15:43:54 +01:00
Miek Gieben
74796c8672
Add SRV and NAPTR record support
2011-01-17 10:30:20 +01:00
Miek Gieben
508103a287
make the parsing compile - complete unusable atm
2011-01-15 14:40:54 +01:00
Miek Gieben
54f158c23d
Helper functions for base64 encoding/decoding
2011-01-15 10:38:14 +01:00
Miek Gieben
578304226f
Add dnskey gen for RSA keys
2011-01-10 16:10:15 +01:00
Miek Gieben
69f9bc6ecd
Start packing nsec/nsec3 typeBitMap
2011-01-09 22:51:36 +01:00
Miek Gieben
d3f9bbe2c9
Set order correctly
2011-01-09 22:06:24 +01:00
Miek Gieben
7da3d0bcb7
Fix the NSEC(3) bitmap
2011-01-09 22:02:25 +01:00
Miek Gieben
a6fee19f4c
Fix tsig by making timeSigned a 64 bit int
...
only use the lower 48 bits to make it all work
2011-01-09 15:30:45 +01:00
Miek Gieben
11a1c753a8
Pack a uint48 as a [3]uint16
2011-01-08 23:47:24 +01:00
Miek Gieben
1b39853f03
tsig generation; first stab
2011-01-08 22:39:15 +01:00
Miek Gieben
b2e9fc8d84
Added TSIG
...
By defining a new struct I can re-use all the nice
stuff in msg.go
2011-01-08 21:51:20 +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
d4059485d5
Add even more rcodes
2011-01-03 10:44:00 +01:00
Miek Gieben
aeb1ce8d9c
Fix the constnames
2011-01-01 20:51:34 +01:00
Miek Gieben
10bfb3d036
Complete the list of DNS q opcodes
2011-01-01 19:51:25 +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
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
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
ec2e732ad3
Better handle error in pack/unpacking
2010-12-30 17:15:59 +01:00
Miek Gieben
9d1d7444a3
Some fixes from creating a dig-like program
2010-12-30 16:38:16 +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
4ed14b9785
More cleansup and robustness
...
* make the resolver more robust
* more dnssec functions
2010-12-28 09:41:54 +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
d6efd37302
Some cleanup
2010-12-25 13:09:27 +01:00
Miek Gieben
65caf6f891
Documentation!
...
Make the packet documentation much nicer.
2010-12-25 11:14:11 +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
94de3401fe
cleanups; rm unused stuff
2010-12-23 14:31:36 +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
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
63c4d10ed0
Add stuff for EDNS
2010-12-21 21:12:43 +01:00
Miek Gieben
b8c9280cc4
add the remaining flags in the DNS headers
...
Next up: EDNS
2010-12-21 14:41:48 +01:00