2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

36640 Commits

Author SHA1 Message Date
Petr Špaček
fa2ba5423b
Deduplicate null definition in the ARM logging section 2022-06-24 09:40:51 +02:00
Petr Špaček
cd1b9aa052
Deduplicate {use,avoid}-v{4,6}-udp-ports definitions in the ARM
Statements affected:
use-v4-udp-ports
use-v6-udp-ports
avoid-v4-udp-ports
avoid-v6-udp-ports
2022-06-24 09:40:00 +02:00
Petr Špaček
6e634c43cd
Deduplicate request-expire definition in the ARM 2022-06-24 08:14:32 +02:00
Petr Špaček
22e6c8a29e
Deduplicate provide-ixfr definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
14389bc446
Deduplicate request-ixfr definition in the ARM
Let's be consistent and put all definitions in the options block.
2022-06-24 08:14:31 +02:00
Petr Špaček
08a3cd7ae4
Deduplicate notify-source, notify-source-v6 definitions in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
e91529a48b
Deduplicate request-nsid definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
92a125b9c4
Deduplicate query-source, query-source-v6 definitions in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
538f5a7520
Deduplicate transfer-source, transfer-source-v6 definitions in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
b6eb0b298d
Deduplicate transfer-format definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
7937c4bc9c
Deduplicate send-cookie definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
8ac82b4f30
Deduplicate max-udp-size definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
624bbf403c
Deduplicate edns-udp-size definition in the ARM 2022-06-24 08:14:31 +02:00
Petr Špaček
405a0931ea
Deduplicate max-zone-ttl definition in the ARM
This is confusing as hell, but we cannot fix that in the manual itself.
At least now the user is made aware of two distinct defaults.
2022-06-24 08:14:31 +02:00
Petr Špaček
420a7331a8
Deduplicate allow-update definition in the ARM 2022-06-24 08:14:29 +02:00
Ron Aitchison
cf85e776c6
Reference new named.conf description instead of man page 2022-06-24 08:12:52 +02:00
Ron Aitchison
31e3d1aaf7
Remove line numbering from config file examples 2022-06-24 08:12:52 +02:00
Ron Aitchison
c40a983334
Changed all references from clause to block 2022-06-24 08:12:52 +02:00
Ron Aitchison
b01262b7f2
Restructure introduction to named.conf in the ARM 2022-06-24 08:12:52 +02:00
Petr Špaček
e5b7022dcb
Add link anchors to statements and blocks in the ARM
All statements now use .. namedconf:statement:: or
.. rndcconf:statement:: syntax provided by our Sphinx extension.

This has several consequences:
- It changes how statement headings are rendered
- Statements are indexed and show up as separate items in doc
  search results (in the HTML version)
- Statements can be linked to using either :any:`statement` or
  :namedconf:ref:`statement` syntax (not used in this commit)
- Statements can be categorized and printed using ..
  namedconf:statatementlist:: syntax (not used in this commit)
2022-06-24 08:12:50 +02:00
Mark Andrews
0d4084289b Merge branch '3420-rrsetorder-update-status' into 'main'
rrsetorder: add missing update of status

Closes #3420

See merge request isc-projects/bind9!6466
2022-06-23 07:24:53 +00:00
Mark Andrews
669c42cd95 Replace expr's with $((expression)) shell constucts
Also make indenting consistent.
2022-06-23 17:05:15 +10:00
Mark Andrews
da63e63c41 Add missing update of status variable in rrsetorder system test 2022-06-23 17:05:14 +10:00
Michał Kępień
73543a4aa7 Merge branch '3143-add-a-note-to-the-arm-on-dnstap-and-resolver-traffic' into 'main'
Add a note to the ARM on dnstap & resolver traffic

Closes #3143

See merge request isc-projects/bind9!6472
2022-06-22 13:11:51 +00:00
Michał Kępień
1f5c2ea8e5 Check IPs in a dnstap capture of resolver traffic
Add a system test that checks whether IP addresses are present in a
dnstap capture of resolver traffic if "query-source" is explicitly set.
2022-06-22 15:09:43 +02:00
Michał Kępień
366f7a938b Add a note to the ARM on dnstap & resolver traffic
Warn users that server-side IP addresses are not stored in dnstap
captures of resolver traffic unless "query-source(-v6)" is explicitly
set, explaining why it is so.
2022-06-22 15:09:43 +02:00
Michal Nowak
a2f25b9635 Merge branch 'mnowak/add-system_gcc_bullseye_unstable_amd64-ci-job' into 'main'
Add system:gcc:bullseye:unstable:amd64 CI job

See merge request isc-projects/bind9!6461
2022-06-22 12:49:07 +00:00
Michal Nowak
db1a72d581
Put default-triggering-rules anchor in alphabetical order 2022-06-22 14:42:32 +02:00
Michal Nowak
0629f53431
Rename schedules_tags_web_triggering_rules anchor
The schedules_tags_web_triggering_rules anchor name should match it's
content, hence api_schedules_tags_triggers_web_triggering_rules anchor
name.
2022-06-22 14:42:32 +02:00
Michal Nowak
fbc1345dd7
Extract API, schedules, triggers, and web triggering rules 2022-06-22 14:42:32 +02:00
Michal Nowak
d606f39022
Add system:gcc:bullseye:unstable:amd64 CI job
Without this CI job long pytest jobs are not being run in the CI.
2022-06-22 14:42:31 +02:00
Michał Kępień
77d89c0dc5 Merge branch '3309-fix-destination-port-extraction-for-client-queries' into 'main'
Fix destination port extraction for client queries

Closes #3309

See merge request isc-projects/bind9!6191
2022-06-22 11:46:25 +00:00
Michał Kępień
58c3513fa6 Add CHANGES entry for GL #3309 2022-06-22 13:45:46 +02:00
Mark Andrews
8d8396c3a7 Check that the UDP destination port is logged via dnstap 2022-06-22 13:45:46 +02:00
Michał Kępień
2f945703f2 Fix destination port extraction for client queries
The current logic for determining the address of the socket to which a
client sent its query is:

 1. Get the address:port tuple from the netmgr handle using
    isc_nmhandle_localaddr().

 2. Convert the address:port tuple from step 1 into an isc_netaddr_t
    using isc_netaddr_fromsockaddr().

 3. Convert the address from step 2 back into a socket address with the
    port set to 0 using isc_sockaddr_fromnetaddr().

Note that the port number (readily available in the netmgr handle) is
needlessly lost in the process, preventing it from being recorded in
dnstap captures of client traffic produced by named.

Fix by first storing the address:port tuple returned by
isc_nmhandle_localaddr() in client->destsockaddr and then creating an
isc_netaddr_t from that structure.  This allows the port number to be
retained in client->destsockaddr, which is what subsequently gets passed
to dns_dt_send().
2022-06-22 13:45:46 +02:00
Michał Kępień
58102aff42 Merge branch '3320-rewrite-arm-dnssec-chapter' into 'main'
Rewrite DNSSEC ARM Chapter

Closes #3320

See merge request isc-projects/bind9!6296
2022-06-22 11:44:11 +00:00
Petr Špaček
146c125988 Mention zone storage in the DNSSEC chapter
Let's not duplicate texts, link to description elsewhere instead.
2022-06-22 13:37:18 +02:00
Suzanne Goldlust
6b1ad4dcfb Minor grammar improvements in the Signing chapter of the DNSSEC Guide 2022-06-22 13:37:18 +02:00
Matthijs Mekking
f721986589 Add a section about key rollover
Describe how to do key rollovers with dnssec-policy. Update the
revert to unsigned recipe in the DNSSEC guide.
2022-06-22 13:37:18 +02:00
Petr Špaček
7d25027898 Deduplicate Manual Signing between DNSSEC chapter and DNSSEC Guide
The two procedures were essentially the same, but each instance was
missing some details from the other. They are now combined into one text
in the DNSSEC Guide and linked from DNSSEC chapter.
2022-06-22 13:37:18 +02:00
Petr Špaček
7e96801841 Deduplicate key filename description in the DNSSEC Guide
Third time ...
2022-06-22 13:37:18 +02:00
Petr Špaček
3eb6898a14 Use ECDSAP256SHA256 in DNSSEC signing examples 2022-06-22 13:37:18 +02:00
Petr Špaček
915237a28f Use code-block directive for complete command lines
Minor rendering nit, not really important.
2022-06-22 13:37:18 +02:00
Petr Špaček
1dcc34f076 Deduplicate key filename description in the DNSSEC chapter 2022-06-22 13:37:18 +02:00
Petr Špaček
5ba618fd28 Move Private Type Records in DNSSEC chapter to higher level
Private Type Records are not specific to manually signing, so it is
better to move it to the end of the "Zone Signing" section shared by all
three methods.
2022-06-22 13:37:18 +02:00
Petr Špaček
bffa3063f0 Rewrite DNSSEC Validation subchapter in the ARM
Mostly deduplicating and linking information across the ARM.
Generally people should not touch it unless they what they are doing, so
let's try to discourage them a bit.
2022-06-22 13:37:18 +02:00
Petr Špaček
29030fa5d7 Add hints about secure delegation to DNSSEC chapter of the ARM
Let's not duplicate texts from elsewhere, just point to different parts
of documentation.
2022-06-22 13:37:18 +02:00
Petr Špaček
28a533322b Reorder chapters about Zone Signing in the DNSSEC chapter of ARM
Let's make more automated methods more prominent:
- KASP first
- dynamic updates second
- command-line tools only as last resort
2022-06-22 13:37:18 +02:00
Petr Špaček
744763f8f2 Rewrite KASP section of DNSSEC chapter in the ARM
The goal is simplicity. Copy&paste to do the right thing, or read
referenced material and make up your mind if you need specialities.

NSEC discussion is already present in the DNSSEC guide so I merged
KASP examples with example for NSEC3 and removed NSEC text from the
DNSSEC chapter.
2022-06-22 13:37:18 +02:00
Petr Špaček
0dc9c33149 Rewrite introduction for DNSSEC chapter of the ARM
I've attempted to drop most of DNSSEC-specific jargon from the intro
paragraph, and to convince readers to read on.
2022-06-22 13:37:18 +02:00