BindZoneFileGenerator
class BindZoneFileGenerator (View source)
Generates standard BIND zone files from DNS records.
Output is compatible with Cloudflare import and pdnsutil load-zone.
Constants
| COMMENT_MARKER |
Prefix of the comment lines that carry a record's Poweradmin comment; the importer reads them back |
| DISABLED_MARKER |
Prefix of the comment lines that carry a disabled record; the importer restores it as disabled |
Methods
string
generate(string $zoneName, array $records, bool $includeComments = false, bool $keepDisabled = false)
No description
Details
string
generate(string $zoneName, array $records, bool $includeComments = false, bool $keepDisabled = false)
No description