class

Cl8r::Generators::DNS

Inherits Cl8r::Generators::Base < Reference < Object

Generates BIND 9 split-horizon DNS configurations, forward/reverse zone files, and FreeIPA batch CLI automation scripts.

Class methods

ptr_host_label_for_ip(ip_str : String, cidr_str : String) : String

Returns the host relative label for PTR records within the reverse zone.

Source
reverse_zone_name_for_cidr(cidr_str : String) : String

Returns the canonical in-addr.arpa reverse zone name according to CIDR prefix boundary.

Source

Instance methods

applicable?

Determines if this generator backend is applicable to the current cluster topology and configuration.

Source
name

Human-readable name/identifier of this generator backend.

Source
render

Pure functional generation method returning files in memory.

Source