Commit Graph

33555 Commits

Author SHA1 Message Date
Mark Andrews
c0c38eeb36 Add invalid test vectors
(cherry picked from commit bc21015438)
2021-08-18 14:59:29 +10:00
Mark Andrews
4fd35998e6 add text vs unknown test vectors
(cherry picked from commit 3e459b4808)
2021-08-18 14:59:29 +10:00
Mark Andrews
c7130b36fc Parse and print HTTPS and SVCB records
(cherry picked from commit 36f34a3e79)
2021-08-18 14:59:29 +10:00
Mark Andrews
cc93d10c82 Add support for parsing <tag>[=<value>]
where <value> may be a quoted string.  Previously quoted string
only supported opening quotes at the start of the string.

(cherry picked from commit 42c22670b3)
2021-08-18 14:59:29 +10:00
Mark Andrews
24e5e3ffd6 Make whether to follow additional data records generic
Adds dns_rdatatype_followadditional() and
DNS_RDATATYPEATTR_FOLLOWADDITIONAL

(cherry picked from commit f0265b8fa6)
2021-08-18 14:59:20 +10:00
Matthijs Mekking
24921fdac4 Merge branch '2665-qname-minimization-disabled-after-first-resolution-v9_16' into 'v9_16'
QNAME minimization is bypassed with stale zonecut in cache (9.16)

See merge request isc-projects/bind9!5329
2021-08-16 17:50:59 +00:00
Mark Andrews
4ba4d7cfbe More correctly implement ends with label sequence check
string.endswith("label.sequence") doesn't check for the implict
period before "label.sequence" when matching longer strings.

"foo.label.sequence" should match but "foolabel.sequence shouldn't".

(cherry picked from commit f79876b2d5)
2021-08-16 19:32:16 +02:00
Matthijs Mekking
086236910a Add change entry and release note for GL #2665
(cherry picked from commit 192329d3c6)
2021-08-16 19:32:16 +02:00
Matthijs Mekking
5688bd31e3 Don't use stale nodes when looking up a zonecut
When looking up a zonecut in cache, we use 'dns_rbt_findnode' to find
the closest matching node. This function however does not take into
account stale nodes. When we do find a stale node and use it, this
has implications for subsequent lookups. For example, this may break
QNAME minimization because we are using a deeper zonecut than we should
have.

Check the header for staleness and if so, and stale entries are not
accepted, look for the deepest zonecut from this node up.

(cherry picked from commit bc448fb3b1)
2021-08-16 19:32:16 +02:00
Matthijs Mekking
5c23ec44bd Add extra checks for !ANCIENT(header)
There are some occurrences where we check if a header exists in the
rbtdb. These cases require that the header is also not marked as
ancient (aka ready for cleanup). These cases involve finding certain
data in cache.

(cherry picked from commit e2d4896864)
2021-08-16 16:42:41 +02:00
Matthijs Mekking
ca0f078dbc Add qmin test cases when RRset has expired
Add test cases for GL #2665: The QNAME minimization (if enabled) should
also occur on the second query, after the RRsets have expired from
cache. BIND will still have the entries in cache, but marked stale.
These stale entries should not prevent the resolver from minimizing
the QNAME. We query for the test domain a.b.stale. in all cases (QNAME
minimization off, strict mode, and relaxed mode) and expect it to
behave the same the second time we have a stale delegation structure in
cache.

(cherry picked from commit 322626ab5b)
2021-08-16 16:42:34 +02:00
Evan Hunt
f17f673772 Merge branch 'feature/master/dig-return-codes-v9_16' into 'v9_16'
Document return codes of dig

See merge request isc-projects/bind9!5326
2021-08-12 17:38:22 +00:00
Petr Menšík
ca52adf81c Document return codes of dig
The dig tool reports some states as exit status. Document them briefly
in the manual page.

(cherry picked from commit f20cc30a6a)
2021-08-12 10:34:46 -07:00
Mark Andrews
5a1fbc3155 Merge branch '2844-rndc-freeze-command-always-fails-perhaps-due-to-in-view-v9_16' into 'v9_16'
Check 'rndc freeze' with in-view zones works

See merge request isc-projects/bind9!5322
2021-08-12 04:38:54 +00:00
Mark Andrews
17c0d3f054 Add CHANGES not for [GL #2844]
(cherry picked from commit 1f8ef7cfe2)
2021-08-12 04:19:44 +00:00
Mark Andrews
42856b25bd Don't freeze / thaw non-explict in-view zones
(cherry picked from commit dcdd9a403a)
2021-08-12 04:19:44 +00:00
Mark Andrews
3376aec286 Check 'rndc freeze' with in-view zones works
(cherry picked from commit ebc92b799b)
2021-08-12 04:19:44 +00:00
Mark Andrews
1991f7de92 Merge branch 'marka-remove-print0-run.sh-v9_16' into 'v9_16'
replace '-print0 | xargs -0' with '-exec ... {} +'

See merge request isc-projects/bind9!5323
2021-08-12 02:06:43 +00:00
Mark Andrews
e7e6b50300 replace '-print0 | xargs -0' with '-exec ... {} +'
(cherry picked from commit de88d83a78)
2021-08-12 11:12:32 +10:00
Matthijs Mekking
8d490656f9 Merge branch '1551-dnssec-signzone-prepublish-zsk-support-v9_16' into 'v9_16'
dnssec-signzone ZSK smooth rollover (9.16)

See merge request isc-projects/bind9!5321
2021-08-11 13:42:32 +00:00
Matthijs Mekking
5656143a1f Add release note and change entry for [#1551]
(cherry picked from commit 1befaa5d45)
2021-08-11 15:20:43 +02:00
Matthijs Mekking
4fec33fd20 Fix bug in dst_key_copymetadata
When copying metadata from one dst_key to another, when the source
dst_key has a boolean metadata unset, the destination dst_key will
have a numeric metadata unset instead.

This means that if a key has KSK or ZSK unset, we may be clearing the
Predecessor or Successor metadata in the destination dst_key.

(cherry picked from commit 94bb545087)
2021-08-11 15:18:10 +02:00
Matthijs Mekking
e43d9f08b9 Add test for dnssec-signzone smooth ZSK roll
Add a test case to the dnssec system test to check that:
- a zone with a prepublished key is only signed with the active key.
- a zone with an inactive key but valid signatures retains those
  signatures and does not add signatures from successor key.
- signatures are swapped in a zone when signatures of predecessor
  inactive key are within the refresh interval.

(cherry picked from commit 35efbc270f)
2021-08-11 15:17:55 +02:00
Matthijs Mekking
c3bdc06278 dnssec-signzone ZSK smooth rollover
When signing with a ZSK, check if it has a predecessor. If so, and if
the predecessor key is sane (same algorithm, key id matches predecessor
value, is zsk), check if the RRset is signed with this key. If so, skip
signing with this successor key. Otherwise, do sign with the successor
key.

This change means we also need to apply the interval to keys that are
not actively signing. In other words, 'expired' is always
'isc_serial_gt(now + cycle, rrsig.timeexpire)'.

Fix a print style issue ("removing signature by ..." was untabbed).

(cherry picked from commit 837adb93d3)
2021-08-11 15:17:49 +02:00
Matthijs Mekking
7e906f24d3 Merge branch 'matthijs-iterations-typo-dnssec-guide-v9_16' into 'v9_16'
Fix missing iterations value in dnssec-guide (9.16)

See merge request isc-projects/bind9!5320
2021-08-11 10:35:22 +00:00
Matthijs Mekking
18c134263e Fix missing iterations value in dnssec-guide
In the "Migrating from NSEC to NSEC3" section, it says:

    dnssec-policy "standard" {
        nsec3param iterations optout no salt-length 16;
    };

There should be an integer after "iterations". Based on the following
text, the number of iterations should be 10.

(cherry picked from commit 9e109191cc)
2021-08-11 10:40:35 +02:00
Mark Andrews
ae7aa2664d Merge branch '2830-statistics-system-tests-needs-to-save-named-stats-files-v9_16' into 'v9_16'
save named.stats files

See merge request isc-projects/bind9!5310
2021-08-03 01:38:44 +00:00
Mark Andrews
d18bec59cb save named.stats files
(cherry picked from commit 53afccf42b)
2021-08-03 10:54:33 +10:00
Michał Kępień
908c3c3a9f Merge branch '2838-indicate-esv-status' into 'v9_16'
Indicate ESV status of BIND 9.16

See merge request isc-projects/bind9!5308
2021-07-30 07:51:54 +00:00
Michał Kępień
a9adf172ac Update release notes to indicate ESV status
BIND 9.16 has been designated as an Extended Support Version.  Update
the release notes accordingly.
2021-07-29 11:10:20 +02:00
Michał Kępień
34bd40dc32 Update version description in "named -v" output
BIND 9.16 has been designated as an Extended Support Version.  Update
the version description in "named -v" / "named -V" output accordingly.
2021-07-29 11:10:20 +02:00
Michal Nowak
a025f0c2d0 Merge branch 'mnowak/fix-pylint-v9_16' into 'v9_16'
Make kasp2policy.py PyLint-clean

See merge request isc-projects/bind9!5306
2021-07-28 09:11:18 +00:00
Michal Nowak
4e09411371 Make kasp2policy.py PyLint-clean
PyLint 2.9.5 reported the following errors:
    contrib/kasp/kasp2policy.py:25:0: R0402: Use 'from ply import yacc' instead (consider-using-from-import)
    contrib/kasp/kasp2policy.py:26:0: R0402: Use 'from ply import lex' instead (consider-using-from-import)
2021-07-28 11:05:41 +02:00
Matthijs Mekking
86e9981240 Merge branch '2836-parental-agents-documentation-missing-string-net-v9_16' into 'v9_16'
Fix parental-agents documentation

See merge request isc-projects/bind9!5305
2021-07-27 13:06:48 +00:00
Matthijs Mekking
575436c3cb Fix parental-agents documentation
There is a missing string "net" in the ARM in the parental-agents
example.

(cherry picked from commit 8d75ec8300)
2021-07-27 14:11:38 +02:00
Michal Nowak
f45bf73a92 Merge branch 'v9_16_19-release' into 'v9_16'
Merge 9.16.19 release branch

See merge request isc-projects/bind9!5299
2021-07-26 09:51:48 +00:00
Michał Kępień
1a58574393 Add a missing CHANGES entry for BIND 9.16.17 2021-07-23 09:43:46 +02:00
Michał Kępień
4433315351 Fix version number in a backported release note 2021-07-23 09:43:46 +02:00
Michal Nowak
c775e62a86 Set up release notes for BIND 9.16.20 2021-07-23 09:43:46 +02:00
Tinderbox User
d7d81bf2c8 Merge branch 'prep-release' into v9_16_19-release 2021-07-23 09:43:46 +02:00
Tinderbox User
e2fb29ad71 prep 9.16.19 2021-07-23 09:43:46 +02:00
Tinderbox User
b22548d8be Add prereq.sh script for the "checkds" system test 2021-07-23 09:43:46 +02:00
Michał Kępień
1f152dbf78 Merge branch 'michal/prepare-documentation-for-bind-9.16.19' into 'v9_16_19-release'
Prepare documentation for BIND 9.16.19

See merge request isc-private/bind9!309
2021-07-23 09:43:45 +02:00
Michał Kępień
018e887bd8 Prepare release notes for BIND 9.16.19 2021-07-23 09:43:45 +02:00
Michał Kępień
53351f3d2a Add release note for GL #2758 2021-07-23 09:43:45 +02:00
Michał Kępień
8d5c429816 Add release note for GL #2686 2021-07-23 09:43:45 +02:00
Michał Kępień
36906b1bb2 Reorder release notes 2021-07-23 09:43:45 +02:00
Michal Nowak
f122497c72 Tweak and reword release notes 2021-07-23 09:43:45 +02:00
Michal Nowak
17e5161dea Tweak and reword recent CHANGES entries 2021-07-23 09:43:45 +02:00
Michał Kępień
e7b1d49b76 Restore release note for GL #2780 2021-07-23 09:43:45 +02:00