Expand DNS documentation for IPv6 and reverse DNS
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 57/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Find the existing private DNS guide and follow its Rocky Linux release conventions for BIND configuration and zone files. Add IPv4 and IPv6 forward records, IPv6 reverse DNS, listener and firewall guidance, testing commands, and troubleshooting. Check examples against the documented paths and commands; done means readers can configure and test forward and reverse DNS for IPv4, IPv6, and dual-stack setups.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
The Rocky Linux documentation already includes a guide for setting up a private DNS server using BIND. However, the documentation could be improved by providing clearer, comprehensive examples for IPv6 DNS records and reverse DNS configuration.
The existing guide introduces DNS concepts and BIND configuration, but a dedicated section covering IPv6 forward and reverse lookups would help users deploy DNS in IPv4, IPv6, and dual-stack environments.
This proposal aims to extend the existing documentation rather than duplicate the BIND installation guide.
Problems to address
- Document IPv4 and IPv6 forward DNS records
Explain how to configure forward DNS records for hosts with IPv4 addresses, IPv6 addresses, or both.
Include examples of:
A records for IPv4 addresses.
AAAA records for IPv6 addresses.
CNAME records where aliases are required.
Forward zones containing both IPv4 and IPv6 records for the same host.
For example:
server1.example.test. IN A 192.0.2.10
server1.example.test. IN AAAA 2001:db8:1::10
The documentation should explain that publishing an AAAA record does not itself enable IPv6 connectivity. The address must be configured and reachable, and the relevant network routing and firewall rules must also be in place.
- Add an IPv6 reverse DNS guide
The existing private DNS guide would benefit from a dedicated section explaining reverse DNS for IPv6.
IPv4 reverse DNS uses the in-addr.arpa namespace, whereas IPv6 reverse DNS uses ip6.arpa. IPv6 reverse names are constructed by expanding the address to its full 32 hexadecimal digits, reversing the individual hexadecimal digits (nibbles), and separating them with dots.
For example, the address:
2001:db8:1:2::10
Expands to:
2001:0db8:0001:0002:0000:0000:0000:0010
Its reverse DNS name is:
0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa.
A reverse zone for the example /64 prefix could be declared as:
zone "2.0.0.0.1.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa" IN {
type master;
file "db.2001-db8-1-2";
};
The corresponding zone file could contain:
$TTL 86400
@ IN SOA ns1.example.test. hostmaster.example.test. (
2026102501 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ) ; Negative Cache TTL
IN NS ns1.example.test.
0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR server1.example.test.
The example uses the documentation-only prefix 2001:db8::/32 and is intended for illustrative purposes, not public deployment. The guide should explain that public reverse DNS requires appropriate delegation of the reverse zone.
- Explain BIND's IPv6 listener configuration
Add an example showing how to configure BIND to listen for DNS queries over IPv4 and IPv6.
For example, in /etc/named.conf:
options {
listen-on port 53 { 127.0.0.1; 192.0.2.53; };
listen-on-v6 port 53 { ::1; 2001:db8:1::53; };
allow-query {
localhost;
192.0.2.0/24;
2001:db8:1::/64;
};
};
The documentation should explain that these addresses and network ranges are examples and must be replaced with the addresses and trusted client networks used in the actual deployment.
It should also explain the distinction between listening on IPv6 addresses and publishing IPv6 DNS records. A DNS server can answer queries for AAAA records without necessarily accepting client queries over IPv6, and a server listening over IPv6 does not automatically make its zones IPv6-ready.
The guide should cover firewall access for DNS over both UDP and TCP on port 53, while warning against exposing unrestricted recursive resolution to untrusted networks.
- Include IPv6 DNS testing and troubleshooting
Provide examples for validating configuration and testing both forward and reverse resolution.
For example:
sudo named-checkconf
sudo named-checkzone example.test /var/named/example.test
sudo systemctl reload named
Test forward lookups:
dig @2001:db8:1::53 server1.example.test AAAA
dig @2001:db8:1::53 server1.example.test A
Test reverse lookups:
dig @2001:db8:1::53 -x 2001:db8:1:2::10
The documentation should explain how to interpret common DNS response codes and troubleshoot issues such as:
Missing or incorrectly formatted AAAA records.
Incorrect IPv6 reverse-zone names.
Missing or incorrect PTR records.
BIND listening only on IPv4.
Firewall rules blocking DNS traffic over IPv6.
Incorrect zone file permissions or SELinux contexts.
Zone serial numbers not being incremented after changes.
Missing or incorrect reverse-zone delegation.
The examples should use the actual zone-file paths and configuration conventions documented for the relevant Rocky Linux release.
- Clarify forward DNS, reverse DNS, and DNS delegation
Add a short explanation of the relationship between forward and reverse DNS.
Forward DNS resolves a hostname to an address, using records such as A and AAAA. Reverse DNS maps an address to a hostname through a PTR record.
The documentation should emphasize that creating a forward record does not automatically create the corresponding reverse record. Both must be configured where reverse resolution is required.
For public DNS deployments, explain that the authoritative DNS provider or network operator must delegate the appropriate reverse zone. For IPv6 networks, the delegation may cover a prefix boundary that does not align with a /64, so users should follow the delegation supplied by their provider.
Expected outcome
Users should be able to configure and test DNS on Rocky Linux for IPv4, IPv6, and dual-stack environments, including forward and reverse lookups.
The improvements would make the existing BIND guide more complete, reduce common IPv6 reverse DNS configuration errors, and help users understand the distinction between DNS records, DNS server listeners, and network connectivity.
- Ngôn ngữ chính
- Shell
- Star
- 483
- Fork
- 391
- Merge trung bình
- 16 giờ 9 phút
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rocky-linux/documentation
-
Add IDs for contributorsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
rocky-linux/documentation#3569 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
rocky-linux/documentation#3567 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
i18n: The title of the admonitions in the item Deploying Slurm on Rocky Linux cannot be translatedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rocky-linux/documentation#3549 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rocky-linux/documentation#3404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update Beginners GitHub infoĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
rocky-linux/documentation#3379 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rocky-linux/documentation
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Abdk4Moura/tunlion#1014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
icon request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
PapirusDevelopmentTeam/papirus-icon-theme#4401 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
package-update
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày