Commit Graph

29 Commits

Author SHA1 Message Date
bert hubert
bffb7ebb23 make getRR also set the section correctly 2018-10-11 13:57:21 +02:00
bert hubert
ff0232692b qclass correctness plus the all important version.bind/version.tdns 2018-04-29 10:51:45 +02:00
bert hubert
531d82d8db remove redundant DNSType parameter in putRR
make DNSNode be able to iterate to previous & next nodes
Give DNSNode a getName() that recurses upwards
add RRSIG parsing/generating
add signature storage to DNSNode
implement NSEC DNSSEC.
	Still some known problems
2018-04-28 22:58:47 +02:00
bert hubert
cadbb9570e make TXT message parse itself from message, implement multiple segments 2018-04-19 12:39:43 +02:00
bert hubert
c9bc5d4821 implement SRV and NAPTR 2018-04-17 21:45:33 +02:00
bert hubert
44bde39dbc fix random breakage 2018-04-17 17:10:32 +02:00
bert hubert
4614e7e0c6 wip 2018-04-17 16:22:44 +02:00
bert hubert
602f8a6cad fix misstoring the DO bit 2018-04-17 12:48:01 +02:00
bert hubert
36ef270ee9 improve logging, add tests, move retrieveZone around, make test slave the root zone 2018-04-17 12:32:56 +02:00
bert hubert
2d395b1113 add ability to print records, plus 'tdig' 2018-04-16 12:33:17 +02:00
bert hubert
d03d16cbdf dnsdist can now retrieve zones over AXFR, including the root. This shook out some compression bugs, plus an off by one on serving the root zone. With this commit, tdns can also parse DNS Messages (which it needs for AXFR).
This also introduces some 'reflection' support that will eventually unify message generation/parting and zone file format input/output
2018-04-16 00:14:18 +02:00
bert hubert
a7c4670284 remove safearray, dnsmessagereader can now parse "any" length 2018-04-15 16:29:17 +02:00
bert hubert
50ba4ebc67 implement nocompress for AXFR, unify some checks between UDP and TCP, improve comments 2018-04-14 20:16:56 +02:00
bert hubert
023eb1d598 cleanup, better comments 2018-04-14 15:57:05 +02:00
bert hubert
503a5cbccf std::unique_ptr comptree 2018-04-14 15:48:01 +02:00
bert hubert
085116362a implement DNS compression 2018-04-14 00:12:53 +02:00
bert hubert
1bfa78711f move EDNS processing, test for EDNS version, implement extended RCodes, define some fun domain names 2018-04-13 17:39:44 +02:00
bert hubert
0398d80a87 clean up EDNS situation and astoundingly weird endianness bug 2018-04-13 15:23:00 +02:00
bert hubert
c3386dad83 make DNSMessageReader safer to use, don't crash on unknown zones, send REFUSED response for AXFR for non-existent zone 2018-04-13 13:37:17 +02:00
bert hubert
54c5271800 further big rename 2018-04-12 16:31:43 +02:00
bert hubert
b4e814d6b4 the big rename 2018-04-12 16:22:35 +02:00
bert hubert
9dd1e50cf6 move check for cname into the right place, fix up logging output, move edns parsing to right place 2018-04-12 16:16:31 +02:00
bert hubert
cc9a13b29a add EDNS, proper label ordering including embedded zeros, update docs 2018-04-12 00:04:59 +02:00
bert hubert
294e72b261 make DNSMessageWriter variable length 2018-04-11 22:12:57 +02:00
bert hubert
ba62c04bd2 cleanup 2018-04-11 12:45:26 +02:00
bert hubert
2872f88c99 lots of work, starting to look useful 2018-04-09 23:04:13 +02:00
bert hubert
ab91a50402 it works again 2018-04-09 20:49:37 +02:00
bert hubert
cc894edba6 superwip 2018-04-09 17:46:31 +02:00
bert hubert
8694ac87eb further split up 2018-04-09 16:43:24 +02:00