Commit graph

22 commits

Author SHA1 Message Date
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
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
2f92f5894d internet: solve DS query bellow a delegation point as a delegation 2017-11-18 20:30:02 +01:00
Daniel Salzman
59d110fc4f internet: skip empty non-terminal parents during delegation lookup 2016-10-25 14:20:58 +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
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
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
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
Marek Vavrusa
4830b7ceaf Discover wildcard-covered additional records for affected nodes.
This requires an additional passthrough of the adjusted nodes
and may pose a performance penalty in the future.
If that need arises, we could sort it out in a different way.
2014-01-15 18:28:36 +01:00
Marek Vavrusa
7e33916830 CNAME loop over wildcard is checked after RR is added.
This is to give requestor proof of the loop in single response.
Also added test for this case.
2014-01-15 18:28:36 +01:00
Daniel Salzman
e37a31e7a0 func-tests: yet another query test tuning 2013-12-23 15:12:28 +01:00
Marek Vavrusa
8b1065bcc4 Varied qname should be tested both in name and zone qname parts. 2013-12-23 14:46:45 +01:00
Daniel Salzman
ac53fc0568 func-tests: add query owner case-sensitivity test 2013-12-23 14:21:29 +01:00
Daniel Salzman
5af6511582 func-tests: change location 2013-12-19 16:35:31 +01:00