Commit Graph

140 Commits

Author SHA1 Message Date
bert hubert
40014879fa actually implement the DNSStringParser mentioned in the intro 2018-04-18 16:49:12 +02:00
bert hubert
ed5fb0e9cf silence warning 2018-04-18 11:01:12 +02:00
bert hubert
4f26070e20 catch exceptions for TCP/IP as well 2018-04-18 09:24:57 +02:00
bert hubert
9d570043b6 catch errors in production and log them 2018-04-18 09:22:28 +02:00
bert hubert
3468204cee add more doxygen, rename some stuff for consistency 2018-04-18 09:17:28 +02:00
bert hubert
913befb4db improve docs 2018-04-17 22:56:21 +02:00
bert hubert
747444a7ff improve logging 2018-04-17 22:56:21 +02:00
bert hubert
66bfe88aba
Merge pull request #21 from Habbie/negative-ttl
correctly apply min(ttl,minimum) on SOA TTL for negative responses
2018-04-17 22:55:10 +02:00
Peter van Dijk
205ac90f9e correctly apply min(ttl,minimum) on SOA TTL for negative responses 2018-04-17 22:50:04 +02:00
bert hubert
cce4bf7757 fix up intro symlink again after aspell mangled it (thanks) 2018-04-17 21:55:16 +02:00
bert hubert
f343664f26 fix compilation on OSX CLANG 2018-04-17 21:48:32 +02:00
bert hubert
029013b28f typo 2018-04-17 21:46:07 +02:00
bert hubert
c9bc5d4821 implement SRV and NAPTR 2018-04-17 21:45:33 +02:00
bert hubert
fc96103298 typo 2018-04-17 21:45:28 +02:00
bert hubert
459e09feec Improve logging a bit 2018-04-17 21:45:15 +02:00
bert hubert
a904c20ee6 we do more now 2018-04-17 21:44:53 +02:00
bert hubert
d8b12eabf3 typos, more complete intro 2018-04-17 20:46:01 +02:00
bert hubert
97e3a1b3bc check for CNAME presence 2018-04-17 20:45:51 +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
ea5194dc80 add a lot of Doxygen comments 2018-04-17 14:19: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
944ae17282 add ton of documentation 2018-04-16 17:09:27 +02:00
bert hubert
f74eebf901 Tony Finch found that we put the SOA record in the wrong section on NO ERROR, NO DATA. 2018-04-16 16:36:51 +02:00
bert hubert
3c973406ba vamp up documentation of tdns a bit 2018-04-16 14:51:18 +02:00
bert hubert
ea16619c33 clarify 4592 confusion a bit 2018-04-16 14:51:03 +02:00
bert hubert
2d395b1113 add ability to print records, plus 'tdig' 2018-04-16 12:33:17 +02:00
bert hubert
64b486fe66
Merge pull request #18 from Habbie/ednscomp
travis: add ISC 'DNS-Compliance-Testing' (aka ednscomp) testing
2018-04-16 10:24:10 +02:00
bert hubert
9ab92e2c36
Merge pull request #19 from Habbie/case-insensitive
improve wording on DNS case-insensitivity
2018-04-16 10:23:37 +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
Peter van Dijk
7e315b3fc7 travis: add ISC 'DNS-Compliance-Testing' (aka ednscomp) testing 2018-04-15 19:50:45 +02:00
Peter van Dijk
99882892bd improve wording on DNS case-insensitivity 2018-04-15 19:50:17 +02:00
bert hubert
632fc9d2cd
Merge pull request #20 from Habbie/donotinclude-safearray
stop including safearray.hh, it is gone
2018-04-15 19:48:15 +02:00
Peter van Dijk
c5955c8886 stop including safearray.hh, it is gone 2018-04-15 19:40:10 +02:00
bert hubert
a7c4670284 remove safearray, dnsmessagereader can now parse "any" length 2018-04-15 16:29:17 +02:00
bert hubert
ec773d45d4 add dnsmessage unit test 2018-04-15 00:38:20 +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
da6f9727dc even our 5 unit tests found a bug already <3 2018-04-14 19:45:36 +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
b2c530f14e improve tests 2018-04-13 21:25:59 +02:00
bert hubert
dd32361a94 move .travis 2018-04-13 21:17:50 +02:00
bert hubert
60ff1d36ce add travis builder 2018-04-13 21:15:48 +02:00
bert hubert
8e5ab1a7a1 compilation hints 2018-04-13 21:13:37 +02:00
bert hubert
68b03336d5 don't build tests by default, super slow 2018-04-13 20:12:42 +02:00
bert hubert
b1cfe3a36a clarify documentation on dnsmessagewriter 2018-04-13 18:08:49 +02:00
bert hubert
90e51417f0 remove some unused code 2018-04-13 18:06:19 +02:00
bert hubert
a79cb8a457 also copy in opcode 2018-04-13 17:56:51 +02:00