Miek Gieben
6ef13c3cbd
Start thinking about server side axfr
2011-09-11 17:24:52 +02:00
Miek Gieben
6e72207318
Simplify tsig
...
Add a couple of errors, and make the function signature
of the tis function more inline with the dnssec ones.
2011-09-10 16:50:27 +02:00
Miek Gieben
b7ca96e7d4
Normalize errors
...
Use the errors as defined in msg.go and a few.
2011-09-09 10:21:04 +02:00
Miek Gieben
18596dd3f8
Use typeANY, not typeALL
2011-08-22 14:11:41 +02:00
Miek Gieben
c37686a724
remove len(s) from the fastpath
2011-08-09 11:41:44 +02:00
Miek Gieben
100f8ef7eb
Remove len(msg) in favor of a variable with that value
2011-08-09 10:54:58 +02:00
Miek Gieben
1053090121
performace tweaks
2011-08-09 10:29:30 +02:00
Miek Gieben
da5d2e91a8
Remove another small allocation
2011-08-09 10:16:45 +02:00
Miek Gieben
c64f506103
Remove a packStruct - should improve performance
2011-08-08 15:28:19 +02:00
Miek Gieben
982f277a44
kill a packStruct
2011-08-08 14:09:05 +02:00
Miek Gieben
861a2adb6c
Forget to the add the i := fv.Uint()
2011-08-08 13:10:35 +02:00
Miek Gieben
2a596f60b9
impl. the recent changes from the reflect package
2011-08-08 10:15:24 +02:00
Miek Gieben
d6716f693d
impl. the recent changes from the reflect package
2011-08-08 09:49:25 +02:00
Miek Gieben
27948bb9f9
Use uint16 instead of int
2011-08-04 15:13:10 +02:00
Miek Gieben
6931e1e215
Adapt ns to the new (fast) zone structure
2011-07-29 14:15:59 +02:00
Miek Gieben
da0603089a
gofmt -w
2011-07-23 23:43:43 +02:00
Miek Gieben
9b1e7b4b3d
documentation
...
make Str_rr and Str_class private, prolly only needed
for parsing
2011-07-23 23:15:40 +02:00
Miek Gieben
2e4f0cc015
goto restrictions
2011-07-18 13:26:57 +02:00
Miek Gieben
f1cbdbd9d4
New goto rules
2011-07-18 13:12:22 +02:00
Miek Gieben
77f4205cea
I can parse rrs now
2011-07-14 21:25:15 +02:00
Miek Gieben
3f69a63128
class NONE added
2011-07-06 17:33:16 +02:00
Elazar
904e322dfd
Ran gofix, and manually bring code up to latest go release.
...
1) Ran gofix on all files.
2) Added "tcp" and "udp" to Resolve* functions in server.go
3) Generated primes to the primes array and not to two predefined
struct members (P and Q), since now rsa support multi-factor primes.
2011-06-02 13:31:12 +03:00
Miek Gieben
e5a769baf0
Fix up API and documentation
2011-03-30 14:54:43 +02:00
Miek Gieben
2d7a1cddeb
Add QuerySimple
...
Some examples are working again. Things are getting
better.
Still need to think about a generic Config (ClientConfig)
for parsing the /etc/resolv.conf
2011-03-29 10:15:42 +02:00
Miek Gieben
135772de9f
complete rewrite the resolver side
...
make it mirror the server side and thus
async and concurrent
2011-03-28 10:01:10 +02:00
Miek Gieben
f2a93a155b
Implement all other TSIG checks
2011-03-25 14:46:30 +01:00
Miek Gieben
ec0a52ccac
documentation
2011-03-25 11:20:52 +01:00
Miek Gieben
8aa88a0bd3
normalize errors
2011-03-25 11:19:35 +01:00
Miek Gieben
87845a9cb1
Formatting
2011-03-24 09:24:49 +01:00
Miek Gieben
25bdf43f06
more documentation updates
2011-03-23 19:37:07 +01:00
Miek Gieben
0059556516
More TSIG changes. Curious if they amount to something
2011-03-15 16:18:13 +01:00
Miek Gieben
82bb573f56
more tsig work - still does not validate but getting close
2011-03-14 12:28:04 +01:00
Miek Gieben
36b77b3b8b
Fix txt rdata
2011-03-14 09:38:29 +01:00
Miek Gieben
b0dad846ad
Fix TSIG
2011-03-13 19:01:57 +01:00
Miek Gieben
0a742210ca
Add DHCID record
2011-03-13 13:11:11 +01:00
Miek Gieben
e585cbf8f4
Add KX record
2011-03-13 13:04:54 +01:00
Miek Gieben
735c254a3b
Fix TSIG and make check if is works with axfr (yes)
2011-03-11 14:24:33 +01:00
Miek Gieben
dfcd170f99
Fixes
2011-03-04 17:19:19 +01:00
Miek Gieben
47d5db5392
Decode NSEC3/NSEC with an any types correctly
2011-03-02 16:18:24 +01:00
Miek Gieben
7014ede8bb
Add -short option that does not display the long key and sig data
2011-03-01 14:57:21 +01:00
Miek Gieben
e6dc03baeb
Shuffle the dns constant to dns.go
2011-02-28 10:42:03 +01:00
Miek Gieben
5c6f9f613e
implement parsing of longer (>255) txt records
2011-02-28 10:28:07 +01:00
Miek Gieben
98e4b33cb5
formatting and documentation
2011-02-24 16:22:14 +01:00
Miek Gieben
266ed16e72
refactor the rrset to signedata function
2011-02-24 15:29:36 +01:00
Miek Gieben
b19fa97c1d
Add URI RR type - type just got allocated number 256
2011-02-23 09:11:03 +01:00
Miek Gieben
157c19af4b
Fix real dots in domain names
2011-02-21 20:56:05 +01:00
Miek Gieben
c7c4d8061e
Allow for escaping of dots in domainnames
2011-02-21 20:33:36 +01:00
Miek Gieben
865ba16420
small bug
2011-02-21 19:29:42 +01:00
Miek Gieben
a90533a13f
implement unknown RRs
...
RFC3597 - unknown rr are implemented. Currently Go dns
needs to now the type code, but must lack the actual implementation
of that type.
See IPSECKEY as an example.
2011-02-21 15:57:15 +01:00
Miek Gieben
daaeaba69b
Add unknown resource record parsing
2011-02-21 15:44:42 +01:00