Commit Graph

149 Commits

Author SHA1 Message Date
Miek Gieben
4d3dac9c36 Add the OPENPGPKEY RR. 2014-08-14 09:18:08 +01:00
Miek Gieben
ef732d1050 RRSIGs: parse epoch timestamp too
According to RFC4034 the timestamp in RRSIG may also be an EPOCH.
Check for this when parsing. Knot DNS zone dumps contain timestamp
RRSIG, this makes those parseable by Go DNS.
2014-01-11 08:50:10 +00:00
Miek Gieben
c174304212 Add test for RRSIG with timestamp in epoch
This is standard's compliant but currently not supported.
2014-01-11 08:37:34 +00:00
Miek Gieben
f3af5834c2 Also add empty txt record in another test 2014-01-11 08:12:13 +00:00
Andrew Tunnell-Jones
549ed97be1 Fix parsing of TXT records containing empty-strings 2014-01-11 05:33:23 +00:00
Miek Gieben
110f6c9ea7 Test for TYPE65534 records, copy now copies slices correctly 2013-12-06 07:37:48 +00:00
Miek Gieben
ff7806469c Implement EID and NIMLOC records 2013-10-19 21:31:12 +01:00
Miek Gieben
b435d836c6 gofmt 2013-10-15 14:21:47 +00:00
Miek Gieben
35bcc78d76 Implement PX record 2013-10-13 13:23:02 +01:00
Miek Gieben
cc2c42cc91 Implement GPOS record 2013-10-13 13:01:33 +01:00
Miek Gieben
961e137891 Add NSAP and NSAP-PTR record 2013-10-13 12:25:08 +01:00
Tonnerre LOMBARD
dc79aa0c5a Fix for typo in message in zscan_rr:
Adress is spelled with an insufficient number of ds.
2013-09-15 03:55:10 +02:00
Miek Gieben
47cc5b052d Work on making IsDomainName better 2013-09-10 13:13:10 +00:00
Miek Gieben
5d094e6e2d gofmt 2013-06-14 19:42:55 +01:00
Miek Gieben
d017b24161 parsing known records as unknown ones, does not work 2013-06-07 08:14:14 +01:00
Miek Gieben
6f0ce553cf Acutally use the CERT parsing
Also fix some bugs in the errors it sends back
2013-06-05 22:28:13 +01:00
Miek Gieben
fd17416ab0 Fix parsing MINFO 2013-06-05 22:20:36 +01:00
Miek Gieben
b33fb29f34 Actually add the MINFO parsing 2013-06-05 22:16:55 +01:00
Miek Gieben
c66494c6c5 Resolv merge conflicts 2013-05-12 19:08:37 +02:00
Miek Gieben
81941d4422 Update all copyright notices 2013-05-12 16:15:52 +02:00
Miek Gieben
495b7d6552 Add UID/GID/UINFO record 2013-04-30 16:42:04 +02:00
Miek Gieben
f43b7368bd Add tests for EUIxx 2013-04-16 08:41:35 +01:00
Miek Gieben
740ad9674c Allow EUI48 and EUI46 to be parsed 2013-04-16 08:41:35 +01:00
Miek Gieben
4c7a8b4985 Add EUI48 (108) and EUI64 (109)
This is an implementation of
http://tools.ietf.org/html/draft-jabley-dnsext-eui48-eui64-rrtypes-02
2013-04-16 08:40:24 +01:00
Miek Gieben
ffca5f59b1 Make comments normative
Fixup the last RR and create a unit test
2013-03-04 15:40:22 +01:00
Miek Gieben
1807dfe2b0 NSEC3PARAM parsing needs slurp 2013-03-04 15:26:58 +01:00
Miek Gieben
7b7eaaa4b0 Make (some) commments normative in zonefiles 2013-03-04 12:16:20 +01:00
Miek Gieben
525465db6d Add parse test and further tweaks 2013-03-04 11:24:08 +01:00
Miek Gieben
ecaf48ed4b Fix URI target parsing 2013-01-20 18:26:10 +01:00
Miek Gieben
c00a096083 Merge branch 'master' of github.com:miekg/dns 2013-01-20 15:45:44 +01:00
Miek Gieben
27c20aff55 Fix URI 2013-01-20 15:43:40 +01:00
Miek Gieben
ed1bb58a66 typo in doc 2013-01-17 11:16:22 +01:00
Miek Gieben
235e892dfc Rename the RR types drop the RR_ prefix
This is also done in the official Go library. It also make the
code shorter.
2012-12-09 19:23:25 +01:00
Miek Gieben
2a3b818b95 Use much more descriptive names for the maps
Alg_str -> AlgorithmToString
 Rr_str  -> TypeToString

And for the reverse maps also.
2012-12-02 09:29:54 +01:00
Miek Gieben
4570e76f2a Refacter txt parsing too
Added new function and make SPF, TXT and other use it.
2012-11-30 15:02:46 +01:00
Miek Gieben
0afd46c739 Shorten functions
Add a endingToString function to refacter a bunch of other setXXX
functions which all had the same endings.
2012-11-30 14:52:05 +01:00
Miek Gieben
48434502f4 layout tweaks in the source file 2012-11-30 14:05:08 +01:00
Miek Gieben
ac39024a25 gofmt 2012-11-21 23:20:56 +01:00
Miek Gieben
67343920d5 Add CDS type 2012-11-20 16:52:18 +01:00
Miek Gieben
4737bfa319 Add the all important RKEY 2012-11-20 16:48:28 +01:00
Miek Gieben
3686d24ca7 Add NINFO record 2012-11-20 16:42:16 +01:00
Miek Gieben
f6896bea4f Add X25 Resource Record 2012-11-20 14:07:16 +01:00
Miek Gieben
314a0eebcc Add support for L32, NID, L64 and LP records 2012-11-18 10:29:05 +01:00
Miek Gieben
c1ae9a3039 Also parse L32 2012-11-17 22:02:22 +01:00
Miek Gieben
702510bc0d Also parse L32 2012-11-17 22:01:45 +01:00
Miek Gieben
01d40f1a63 Its NextDo() 2012-11-09 10:45:11 +01:00
Miek Gieben
20a1a740c5 Check for @ begin used as origin in rdata 2012-11-09 10:34:51 +01:00
Miek Gieben
915781ea86 Better naming 2012-09-11 21:45:21 +02:00
Miek Gieben
73b6d37885 cleanup api, dont export Year68 2012-08-17 08:29:45 +02:00
Miek Gieben
9c429db88f parse RT 2012-08-10 09:25:35 +02:00