Miek Gieben
fb0623fbb2
change comments
2012-06-01 22:23:21 +02:00
Miek Gieben
de95ac0bb3
gofmt
2012-06-01 13:35:52 +02:00
Miek Gieben
bb376b18b3
Add size received to a pkt
2012-06-01 10:05:27 +02:00
Miek Gieben
1bf0864632
First pass for edns subnet support
2012-05-31 21:40:07 +02:00
Miek Gieben
29365cc9d8
more consistent naming
2012-05-31 19:33:12 +02:00
Miek Gieben
b0c12388e8
Give edns0 support as much need upgrade
...
Its now much nicer and more Go like. In essence ENDS0
is a sort of a mini RR parser.
2012-05-31 18:36:27 +02:00
Miek Gieben
7a3af5b729
Support $GENERATE (the bind extension).
...
It is even better than the bind one, because all records are
supported (as long as the output is valid)
2012-05-20 15:28:27 +02:00
Miek Gieben
3611c4d458
fmt
2012-05-05 17:37:48 +02:00
Miek Gieben
9cabad70a8
Remove Rtt from dns.Msg, does not belong there
2012-05-05 09:49:33 +02:00
Miek Gieben
be93e4bf2d
Also add the remote server. TODO, but handy incase of async queries/replies
2012-05-04 23:25:41 +02:00
Miek Gieben
fc599d23fe
Save rtts for clients
2012-05-04 23:18:29 +02:00
Miek Gieben
1948cd2a90
Use go vetted struct tags
...
They had the form: "domain-name", now they are key value pairs (key is
always dns: `dns:"domain-name"`
2012-04-29 21:55:29 +02:00
Miek Gieben
4128822bbf
Faster check
2012-04-24 23:23:30 +02:00
Taral
5fc37375db
Always use "." for the root domain.
2012-03-17 23:43:12 -07:00
Miek Gieben
33c60cc532
Set *ALL* headers bits, now showing CD and AD
...
Fill in the missing pieces of the header
2012-03-09 20:42:40 +01:00
Miek Gieben
1009d83753
Fix opt not as last record
2012-03-06 19:28:34 +01:00
Miek Gieben
3232814d1b
Fix client side TSIG
...
Redesign of TSIG. Validation is on the TOOD - this can be
done in the same way as in the server.
2012-03-01 22:40:34 +01:00
Miek Gieben
b07a05d5ca
prefix errors with dns:
2012-02-29 21:13:16 +01:00
Miek Gieben
99a7a57713
Upgrade the definition of domain name
2012-02-28 20:47:25 +01:00
Miek Gieben
e816e64e3e
doc tweaks, Len() tweaks
2012-02-28 20:43:08 +01:00
Miek Gieben
ea57a49d94
Allow mnemonic algorithm numbers in DS (and DS-like) records
2012-02-27 19:17:58 +01:00
Miek Gieben
b7f997cc6e
Fix setting the rdlength for compressed names
...
RawSetRdlength was working with a 0xC00 bitmask which
should have been 0xC0.
2012-02-26 18:23:21 +01:00
Miek Gieben
f6f91203d1
Also look at the msg header when validating
2012-02-25 19:12:02 +01:00
Miek Gieben
843abbef36
Fix nsec3verify for wildcard at the n.c. level
...
When a wildcard is not denied and the closest encloser *is*
denied we have a problem.
Thank to Peter van Dijk for pinging me
2012-02-24 21:26:01 +01:00
Miek Gieben
c7dd37b000
Fix TXT validation
2012-02-22 22:11:40 +01:00
Miek Gieben
b47f11ff9c
Dont know what I wanted with this
2012-02-19 15:49:02 +01:00
Miek Gieben
73299288aa
Remove the TODO
2012-02-19 15:38:21 +01:00
Miek Gieben
9bdd445088
HIP pack support - not tested
2012-02-19 15:37:27 +01:00
Miek Gieben
c82a1af1e3
HIP unpack support -- not tested
2012-02-19 15:33:12 +01:00
Miek Gieben
f45d4d933d
Add length for base64 encodings
2012-02-19 15:24:26 +01:00
Miek Gieben
88a0052d1d
Fix newline/space handling and braces
...
( dsjkdjk
djsdjk
)
( dkjsdjsd
djskdjsd
)
Are two different strings, the above contains NO spaces, the bottom
one does. This doesn't matter anywhere, except in HIP record, which
say some data may not contain spaces.
2012-02-19 12:04:27 +01:00
Miek Gieben
32ce3502ae
add HIP here too
2012-02-19 11:27:16 +01:00
Miek Gieben
37ef7bd219
More TXT related fixes
...
Add two corner cases for testing
2012-02-13 19:08:37 +01:00
Miek Gieben
d235bf4c2e
Remove debugging stuff
2012-02-13 16:18:42 +01:00
Miek Gieben
c30821fece
Fix TXT packing and unpacking
2012-02-13 16:12:26 +01:00
Miek Gieben
2c44133163
Fixes for the new presentation of txt records
2012-02-13 15:59:40 +01:00
Miek Gieben
77b60231e7
If we add a dot to a name, be sure to remove one from the length
2012-02-05 11:33:55 +01:00
Miek Gieben
b639fa305d
Fix overflow when the buffer is really small
2012-01-29 19:11:55 +01:00
Miek Gieben
402ce277df
add the strings for these rcodes too
2012-01-29 18:55:49 +01:00
Miek Gieben
09ac6c8dc5
gofmt
2012-01-28 00:35:37 +01:00
Miek Gieben
bc2b826f38
Remove udpsize from ListenAndServer, too ugly
2012-01-27 08:45:33 +01:00
Miek Gieben
784713d0e0
Docs
2012-01-26 22:52:29 +01:00
Miek Gieben
4f588a5d15
documentation
2012-01-26 22:46:59 +01:00
Miek Gieben
04cbdae47a
Fix DS overflow when unpacking
2012-01-23 20:29:47 +01:00
Miek Gieben
7b67cbff49
Set the timeouts throughout the code. New Golang api
2012-01-23 20:25:15 +01:00
Miek Gieben
6e6b67afd5
Fix NSEC(3) with no bitmap
2012-01-23 11:30:26 +01:00
Miek Gieben
67573c14b3
Implement NSEC3 NODATA proof
2012-01-22 11:33:51 +01:00
Miek Gieben
f25584e94e
Overflow fixes
2012-01-21 12:35:19 +01:00
Miek Gieben
5917838cbb
gofmt
2012-01-20 12:24:20 +01:00
Miek Gieben
ea789b6f23
Add nsec3 NXDOMAIN proof
2012-01-19 19:48:09 +01:00