Commit Graph

1375 Commits

Author SHA1 Message Date
Miek Gieben fa3dd1e1ea Make github understand the list 2012-02-15 10:34:35 +01:00
Miek Gieben 542ca8ed6d Add ref to 4592 and tests it 2012-02-15 10:28:55 +01:00
Miek Gieben c657499f8a Update the readme/todo 2012-02-15 10:24:58 +01:00
Miek Gieben 63639e33f8 Add and test IsSubDomain function 2012-02-15 10:22:52 +01:00
Miek Gieben d89f439689 Extra parse tests 2012-02-15 10:02:21 +01:00
Miek Gieben ef524d882a Add features to soa parsing 2012-02-15 09:04:09 +01:00
Miek Gieben 697d67ea96 Fix origin handling and fix lines which start with ownernames
Zonefile handling is more robust and more up to the specs.
Also added a new zone file which has some nice properties
which trigger corner cases.
2012-02-15 08:47:31 +01:00
Miek Gieben cb1d41c607 First stab for IsSubDomain 2012-02-14 22:55:14 +01:00
Miek Gieben 95ffaca79d typo 2012-02-14 22:43:04 +01:00
Miek Gieben 827e4a476f Force the root label to have 0 labels 2012-02-14 22:26:18 +01:00
Miek Gieben b7004384f8 Make it listen on tcp/upd for v4 and v6 2012-02-14 20:59:25 +01:00
Miek Gieben 0a79fd28e0 nicer 2012-02-14 16:15:44 +01:00
Miek Gieben 63d8b1feb1 Implement TTLs in words
1H, 1M, 1W2D, etc. should now be parsed in TTLs
2012-02-14 15:14:54 +01:00
Miek Gieben b3a58abd24 discard \r when reading zonefile 2012-02-14 14:05:33 +01:00
Miek Gieben 35bd7ac4f4 Slightly shorter 2012-02-14 13:57:12 +01:00
Miek Gieben a031927dde Update the readme for the go tool 2012-02-14 13:48:07 +01:00
Miek Gieben 7ef88cf5b3 Add support for @
For this to work ParseZone was extended to accept a starting
origin. This way even zonefiles without $ORIGIN would work
as expected. This is an api change.
2012-02-14 13:46:40 +01:00
Miek Gieben b49e4f2411 Allow @ to be recognized as zone origin 2012-02-14 13:23:09 +01:00
Miek Gieben e1b6c642ab move the makefile down 2012-02-13 22:34:27 +01:00
Miek Gieben 483911d566 move it 2012-02-13 22:26:26 +01:00
Miek Gieben eb9db0bc60 Not needed; removed 2012-02-13 22:25:53 +01:00
Miek Gieben 94319e1a6a Tell about the new coolness in the README 2012-02-13 22:02:36 +01:00
Miek Gieben d10b0f731e We indeed need a larger buffer 2012-02-13 21:57:22 +01:00
Miek Gieben 3bb902e549 Add more testing 2012-02-13 21:39:27 +01:00
Miek Gieben 58a6be3959 Parse RFC3597 RRs (unknown RR handling)
The support is not 100%, an known rr cannot have it's
rdata in unknown form. Consider this a stupid part
of the RFC.
2012-02-13 21:34:06 +01:00
Miek Gieben 5dbfc48a5e start fixing for unknown rrs parsing/printing 2012-02-13 21:12:14 +01:00
Miek Gieben 1a78b40a56 Remove large zone 2012-02-13 19:33:28 +01:00
Miek Gieben b888c94542 Update defttl as we go 2012-02-13 19:26:44 +01:00
Miek Gieben fece54374d Support comments after $DIRECTIVEs
Just read until the end of the line after the first string.
2012-02-13 19:14:11 +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 6470b8335d All numeric is OK too nowadays 2012-02-13 17:58:43 +01:00
Miek Gieben c9da0472de Update the documentation 2012-02-13 17:52:53 +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 2f64868d3c Add quotes to the parsing engine.
Support:
TXT
NAPTR

And other record that we may use.
2012-02-13 13:19:37 +01:00
Miek Gieben 42efa912b5 Almost there with parsing 2012-02-12 23:00:26 +01:00
Miek Gieben a7b2a88e7a Parsing TXT records now works OK 2012-02-12 22:24:18 +01:00
Miek Gieben 6279bb1917 Txt record parsing works -- need to look at the on-the-wire stuff 2012-02-12 21:52:20 +01:00
Miek Gieben 6ddb9ab88b Txt record parsing works -- need to look at the on-the-wire stuff 2012-02-12 21:50:02 +01:00
Miek Gieben 5a48b54327 added quotes as important chars in the parser 2012-02-12 19:06:32 +01:00
Miek Gieben 059c08af9f temp. fix for reflect 2012-02-12 14:11:40 +01:00
Miek Gieben 53dcc5a425 update the todo 2012-02-12 13:06:47 +01:00
Miek Gieben 9c478ab6e4 Add the dot in the correct place 2012-02-12 12:36:26 +01:00
Miek Gieben 34a711372a Fix the ORIGIN appending 2012-02-12 12:28:08 +01:00
Miek Gieben a21f7c6b30 Documentation updates and parsing fixes 2012-02-12 11:45:44 +01:00
Miek Gieben 974f4214a2 More documentation updates 2012-02-12 11:37:52 +01:00
Miek Gieben 2cb265697e Documentation
Need to think about the non-existing root-label and the label
functions.
2012-02-12 11:34:28 +01:00
Miek Gieben ea6da640d7 Documentation cleanup 2012-02-12 11:17:52 +01:00
Miek Gieben d7f4f61777 Clean up dead code 2012-02-12 11:16:26 +01:00