Skip to content

rfc2136 provider make use of SOA records to determine Server property #647

@olzemal

Description

@olzemal

rfc2136 defines:

[4](https://datatracker.ietf.org/doc/html/rfc2136#section-4) - Requestor Behaviour

  4.1. From a requestor's point of view, any authoritative server for
  the zone can appear to be able to process update requests, even
  though only the primary master server is actually able to modify the
  zone's master file.  Requestors are expected to know the name of the
  zone they intend to update and to know or be able to determine the
  name servers for that zone.

emphasis on or be able to determine the name servers for that zone. This can be done by requesting the SOA as defined earlier in the rfc:

 Primary Master  master server at the root of the AXFR/IXFR
                 dependency graph.  The primary master is named in
                 the zone's SOA MNAME field and optionally by an NS
                 RR.  There is by definition only one primary master
                 server per zone.

however external-dns-management requires the property Server to be set in the secret.

It would be great if this property was optional. If no value is given external-dns-management should lookup the server via a SOA request for the Zone.

This way in case the primary master IP switches (fail-over / multi master scenario) there would be no configuration change needed.

Optionally store the returned value in the field for the purpose of caching and minimizing request counts.
In case the cached IP is not reachable anymore the cache should be dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions