New plugin proposal: Unbound Catalog Sync (RFC 9432)

Abierto
#5,968 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
1.2k
Forks
932
Merge medio
1 d 11 h
PR fusionados (30 d)
22

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.