New plugin proposal: Unbound Catalog Sync (RFC 9432)

Đang mở
#5,968 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php, python
Lĩnh vực
devops, networking

Hướng nghiên cứu

This is a proposal for a new plugin, not a defined change, so there is no existing file or failing test to start from. Read the OPNsense plugins CONTRIBUTING.md and the existing dns plugins to see how an MVC page is laid out. Done means the maintainers have agreed on scope and a first reviewable submission is identified; the design discussion belongs in the thread first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

support

Important notices

  • I have read the contributing guidelines.
  • I searched open and closed issues and pull requests in opnsense/plugins and opnsense/core for DNS Catalog Zones and RFC 9432.
  • This is a proposal for a new plugin.

Problem

When authoritative DNS hosts many internal zones across several OPNsense resolvers, maintaining a matching set of Unbound Stub Zones by hand makes zone changes easy to miss. Authoritative servers such as PowerDNS can already publish zone membership in an RFC 9432 catalog.

Proposal

Would you be open to an optional dns/unbound-catalog plugin that consumes an RFC 9432 catalog by AXFR and reconciles Unbound Stub Zones from its membership? An OPNsense MVC page under Services → Unbound DNS → Catalog Sync would let operators configure the catalog and authoritative endpoints, inspect per-zone status, and exclude individual zones. Unbound would continue to resolve member records directly from the configured authoritative servers. The implementation keeps the last valid catalog through transfer failures and preserves administrator-managed Unbound settings.

The standalone prototype also supports source-restricted DNS NOTIFY. Before opening a PR, I’d welcome feedback on whether this fits the plugins collection and whether catalog polling, stub reconciliation and basic status would make a good first reviewable submission.

Alternatives considered

Manual Unbound configuration works for smaller deployments but has to be updated on each resolver when membership changes. Query forwarding works when there is a recursive upstream; this use case has authoritative-only servers.

Additional context

The BSD-2-Clause prototype uses an MVC/configd integration and a Python worker shipped as source. Version 1.2.2 targets OPNsense 26.7 on amd64. Tests cover catalog transfers and live resolution with BIND, PowerDNS Authoritative and Unbound. Source · v1.2.2 release · Integration tests

AI disclosure: OpenAI Codex (GPT-6) assisted with the prototype, tests, documentation, and this proposal.

Ngôn ngữ chính
PHP
Star
1.2k
Fork
932
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opnsense/plugins

Tất cả issue của opnsense/plugins

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.