octodns.processor.arpa

class octodns.processor.arpa.AutoArpa(name, ttl=3600, populate_should_replace=False, max_auto_arpa=999, inherit_ttl=False)[source]

Bases: BaseProcessor

__init__(name, ttl=3600, populate_should_replace=False, max_auto_arpa=999, inherit_ttl=False)[source]
process_source_zone(desired, sources)[source]

Called after all sources have completed populate. Provides an opportunity for the processor to modify the desired Zone that targets will receive.

  • Will see desired after any modifications done by Provider._process_desired_zone and processors configured to run before this one.

  • May modify desired directly.

  • Must return desired which will normally be the desired param.

  • Must not modify records directly, record.copy should be called, the results of which can be modified, and then Zone.add_record may be used with replace=True.

  • May call Zone.remove_record to remove records from desired.

  • Sources may be empty, as will be the case for aliased zones.

_order_and_unique_fqdns(fqdns, max_auto_arpa)[source]
populate(zone, target=False, lenient=False)[source]
list_zones()[source]