Libor Peltan
33324965ca
DNAME: synthesized CNAME might be perfect answer to CNAME query
2020-11-20 09:26:45 +01:00
Libor Peltan
40385080a5
ANY over TCP returns one random RRSet not all
2020-05-12 15:38:57 +02:00
Libor Peltan
197314d451
ANY: when UDP, always answer with one RRSet
2020-05-01 20:14:03 +02:00
Libor Peltan
ba77821d66
bugfix: NXDOMAIN authority SOA has TTL limited by minimum-ttl field
...
See https://tools.ietf.org/html/rfc2308#section-3
2020-02-29 20:10:41 +01:00
Daniel Salzman
3831d74ffa
tests-extra: unify zone file for cname-follow
2019-11-26 13:12:40 +01:00
Libor Peltan
af0025424a
nameserver: limit processing depth of C/DNAME chain
2019-11-26 13:12:40 +01:00
Daniel Salzman
3c836b2106
tests-extra: move tcp-reuseport to basic/nsec(3)
2019-10-07 15:38:13 +02:00
Daniel Salzman
a8d816f1f7
tests-extra: enable tcp-reusport in basic/query test, which consists of basic queries only
2019-10-06 12:23:39 +02:00
Daniel Salzman
042b6f03e4
tests-extra: use ECDSAP256SHA256 as default key alg + fix basic/nsec3 after EDNS buff size decrease
2019-09-23 11:22:51 +02:00
Daniel Salzman
2f92f5894d
internet: solve DS query bellow a delegation point as a delegation
2017-11-18 20:30:02 +01:00
Daniel Salzman
c2073265c7
Remove obsolete RRL configuration support
2017-10-29 14:53:34 +01:00
Libor Peltan
2b5b4f6679
tests-extra: dname cname too long
2017-03-02 10:47:55 +01:00
Daniel Salzman
3f950e1d3f
process_query: don't preserve CD flag
2016-10-31 16:00:21 +01:00
Daniel Salzman
59d110fc4f
internet: skip empty non-terminal parents during delegation lookup
2016-10-25 14:20:58 +02:00
Daniel Salzman
42623b07b9
internet: add optional glue for child zone if authoritative answer + refactoring
2016-10-05 17:59:43 +02:00
Daniel Salzman
fa85543516
Merge branch 'zero-flag' into 'master'
...
issue #476 : fixed zero flag not being zeroed + added test
See merge request !580
2016-08-22 14:12:04 +02:00
Filip Siroky
78608c6c3a
issue #476 : fixed zero flag not being zeroed + added test
2016-08-22 13:54:24 +02:00
Daniel Salzman
0442345ef7
tests-extra: fix basic/rrl with valgrind by disabling DO flag in queries
2016-08-09 10:02:32 +02:00
Jan Vcelak
70bfc21c80
NSEC tests: no wildcard match because empty non-terminal exists
2016-08-02 13:58:14 +02:00
Jan Vcelak
dc5f387d45
tests: extend delegation tests with mixed set of servers
2016-06-27 16:40:43 +02:00
Jan Vcelak
97a0415f4c
server: finish packet processing if RRSIGs won't fit the packet
...
For mandatory signature, we could stop processing the packet if the
buffer is too small. The response will have the TC flag anyway.
For optional signature, we can stop the processing as well. Because the
optional records are inserted into the additional section at last.
2016-05-18 13:51:52 +02:00
Jan Vcelak
db318be31e
tests: add update script to resign the test zone
2016-05-18 13:45:45 +02:00
Jan Vcelak
97160d4605
tests: constant delegation name across one TC test batch
2016-05-18 13:39:18 +02:00
Jan Vcelak
798cda24e0
tests: TC flag setting in large delegations
...
refs #459
2016-05-17 19:49:29 +02:00
Jan Vcelak
f355a27494
tests-extra: rewrite RRL tests, cover all options
2016-04-11 22:59:17 +02:00
Daniel Salzman
8ad34a410f
tests-extra: add NSEC Name error case - wildcard NSEC with delegation boundary
2015-08-24 15:59:21 +02:00
Daniel Salzman
f5c685d879
rrl: fix TC bit setting
2015-07-21 16:01:35 +02:00
Jan Vcelak
340ab89c37
tests-extra: add tests for CNAME following
2015-07-13 12:48:04 +02:00
Jan Vcelak
0986cfb7e7
review fix: typo
2015-07-13 10:09:16 +02:00
Jan Vcelak
7f985098f9
tests-extra: add tests for Additional section content lookup
2015-07-10 17:17:04 +02:00
Jan Vcelak
f7b891eb28
tests-extra: disable workaround for a BIND bug in NSEC3 proofs
2015-07-09 15:40:35 +02:00
Jan Vcelak
349a4d8afe
tests-extra: basic/query, review queries and clarify comments
2015-07-09 15:40:35 +02:00
Jan Vcelak
e44e6b499e
tests-extra: fix query for a CNAME below NS
2015-07-09 15:40:35 +02:00
Jan Vcelak
2c4ebdffe1
tests-extra: enable additionals checking for selected tests
...
The Additional section of the answers should be compared with BIND on
expected delegations.
Knot DNS also puts A/AAAA records into the Additional section for NS,
MX, and SRV records.
2015-07-09 15:40:35 +02:00
Jan Vcelak
be03a91d94
tests-extra: basic/flags, remove obsolete exceptions
2015-07-09 15:33:29 +02:00
Lubos Slovak
76e84fc247
tests-extra: CNAME loop + fixed basic/query test.
...
- Test response with a long CNAME loop.
- Some queries in basic/query test did not have the zone name
appended, resulting in bogus answers (REFUSED). Not visible,
because the responses are only compared to ones from Bind.
TODO: Comparison with Bind should be replaced by checks for
particular requirements for the response.
2014-11-11 23:26:52 +01:00
Marek Vavruša
8d40f2fc57
tests-extra: don't compare RFC5155/B.5 test with BIND9
...
Explained in the test, BIND9 as of 9.9.4 provides wrong closest
encloser wildcard NSEC3 record.
2014-03-19 16:14:34 +01:00
Daniel Salzman
a90ba585b3
tests-extra: add basic/opt-out test case
2014-03-17 15:07:12 +01:00
Daniel Salzman
856c594a40
tests-extra: unify comments
2014-03-17 15:07:12 +01:00
Marek Vavrusa
a4b5df22a8
tests-extra: tests for proofs of expanded/unexpanded wildcards below dp
2014-02-25 15:36:24 +01:00
Lubos Slovak
8ab8b4397a
Added some BIND-independent checks to basic tests.
2014-02-25 12:56:55 +01:00
Lubos Slovak
1b438a7e2c
Added some more test cases to basic tests.
2014-02-12 19:02:52 +01:00
Marek Vavrusa
5aafc31688
tests-extra: added NSEC/NSEC3 tests for wildcard expansions
...
- new test for wildcard expansion leading to NXDOMAIN
- new test for wildcard expansion leading to NODATA
2014-02-10 16:27:49 +01:00
Marek Vavrusa
5e74c14ba2
nameserver: fixed query to wildcard expansion -> apex
...
Added test cases for this and previous commit.
Conflicts:
src/libknot/nameserver/name-server.c
2014-02-10 16:27:49 +01:00
Daniel Salzman
31bb2652f6
func-tests: add check for nonterminal
2014-02-05 16:48:01 +01:00
Marek Vavrusa
af68e330cf
func-tests: added tests for flags clearing/preservation
2014-01-30 17:24:28 +01:00
Daniel Salzman
596655bc90
func-tests: extend dig parameters with all basic dns flags
...
close #198
2014-01-30 12:37:42 +01:00
Daniel Salzman
592a5b51ca
func-tests: improve zonefile interface
2014-01-29 14:49:50 +01:00
Marek Vavrusa
fc08b7c021
ns_proc_context_t.flags should really be a module parameter.
...
Since we need address for the query processing, we should employ
the structure for query processing related flags (they all are).
Added new flag that controls whether ANY disabled should be enforced
or not. Also added test for this case.
2014-01-21 15:48:29 +01:00
Marek Vavrusa
2a73ac7973
AUTHORITY NS not added for CNAME loop or CNAME leading to out-of-zone
...
data.
This conforms to RFC1034, 4.3.2/pt 3.a I think,
as the CNAME target would lead us out of available zones.
(We don't support answer from multiple local zones as of now.)
2014-01-17 17:05:49 +01:00