Commit Graph

139 Commits

Author SHA1 Message Date
Miek Gieben b417c42bc2 Fix handling of dnames
Add support for escaped dots. Only thing to fix is the
fqdn-ness of user defined names.
2012-01-08 14:53:55 +01:00
Miek Gieben 0322d3a9da Fix $ORIGIN in zonefiles
also check if a dname isn't fq, and add $ORIGIN is not.
2012-01-08 14:06:58 +01:00
Miek Gieben f1ff334ab1 Rename DefaultTTL to DefaulTtl
This is more inline with the rest
2011-12-14 08:42:53 +01:00
Taral c1889c778d gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
Miek Gieben 7d73d6e9e1 Make opcode public and fix the IsEdns0 2011-09-19 13:34:16 +02:00
Miek Gieben 1f03789dcb edns0 helper funtions 2011-09-11 13:01:18 +02:00
Miek Gieben 5352363707 SetEdns0 helper function 2011-09-11 12:57:06 +02:00
Miek Gieben f252e2f3f0 Add documentation and fix the tests for TSIG
Everything is working, I get a complete TSIG verified AXFR from
miek.nl.
2011-09-11 01:37:06 +02:00
Miek Gieben 3be73fcea9 Tsig fixes
make tsig easier to use and even transparant when using the API
2011-09-11 01:10:47 +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 fa34fe67ca move around the get/set methods 2011-09-02 14:28:40 +02:00
Miek Gieben 6eb42504c4 typo 2011-08-22 13:06:34 +02:00
Miek Gieben 3ce319eb8b Add IsQuestion 2011-08-22 12:52:13 +02:00
Miek Gieben aaf4af6401 add: setUpdate to create update packets 2011-08-22 10:29:39 +02:00
Miek Gieben 66ea81043c Implement fully featured nameserver.
Currently:
    * does positive DNSSEC (no NXDOMAIN)
    * does plain NXDOMAIN
    * Name error
    * reasonable fast: 7000+ qps
2011-07-29 16:14:04 +02:00
Miek Gieben 5087f5a993 SMall fixes 2011-07-26 21:41:24 +02:00
Miek Gieben 47cc5b3e77 Fixes 2011-07-26 19:16:28 +02:00
Miek Gieben 96ddebf335 add miek.nl.signed as a test zone
Add support for more RRs - I can now parse my own zone
2011-07-24 22:21:48 +02:00
Miek Gieben 4671072027 Error handling
Handle semantic errors in the input stream.
Try to use Ragel's error handling when seeing a non-supported
class. This does not work yet.
2011-07-24 17:08:33 +02:00
Miek Gieben a0b011799e documentation 2011-07-23 23:32:42 +02:00
Miek Gieben f53ca4bfc3 add TSIG axfr test, still needs work though 2011-07-05 20:52:35 +02:00
Miek Gieben 5de08ff3dc Update doc and set recursion = true in SetQuestion 2011-07-04 21:28:30 +02:00
Miek Gieben 3343234bf2 comment 2011-06-14 08:32:03 +02:00
Miek Gieben 19bfc93c5a remove config.go 2011-04-18 22:08:12 +02:00
Miek Gieben 05a6852663 port tcp read 2011-04-18 18:27:59 +02:00
Miek Gieben 36aa317315 Create SetQuestion function 2011-04-14 22:22:24 +02:00
Miek Gieben 15d84f0d7d Fix xfrprg -- needs testing 2011-03-30 17:50:07 +02:00
Miek Gieben 0449ff62a2 seeing some light in the query API
global channels look to be helpfull
2011-03-30 11:14:36 +02:00
Miek Gieben 4029c4153c Use defaulTTL, more Go like 2011-03-25 17:47:35 +01:00
Miek Gieben 9ac4df6b1d add a IsUpdate function 2011-03-25 10:16:55 +01:00
Miek Gieben cef7dc4a31 documentation 2011-03-24 14:29:23 +01:00
Miek Gieben f44bf2d656 Formatting 2011-03-24 09:24:24 +01:00
Miek Gieben 8b2882673f Create xfr proxy 2011-03-23 10:48:21 +01:00
Miek Gieben 8b70e31c41 Fix examples and API additions 2011-03-23 09:50:38 +01:00
Miek Gieben bac16eb644 Port to new api 2011-03-22 20:12:36 +01:00
Miek Gieben a7a8b616f0 fix reflect 2011-03-21 22:53:15 +01:00
Miek Gieben b1f63f57c4 Read/Write works, but axfr still fails 2011-03-20 19:58:55 +01:00
Miek Gieben d728de7088 nicer api 2011-03-16 17:28:35 +01:00
Miek Gieben a5f78d235c Add defaults.go for easy pkt making 2011-03-16 12:19:15 +01:00