Module zones

Module zones 

Source
Expand description

Zone management API handlers

This module implements HTTP handlers for all zone-related operations:

  • Creating zones (with zone file creation)
  • Deleting zones
  • Reloading zones
  • Getting zone status
  • Freezing/thawing zones
  • Notifying secondaries

Structs§

CreateZoneRequest
Request to create a new zone
DnsRecord
DNS record entry
ModifyZoneRequest
Request to modify a zone configuration
ServerStatusResponse
Server status response
SoaRecord
SOA (Start of Authority) record configuration
ZoneConfig
Structured zone configuration
ZoneInfo
Zone information
ZoneListResponse
List of zones response
ZoneResponse
Response from zone operations

Constants§

ZONE_TYPE_PRIMARY
Zone type constants
ZONE_TYPE_SECONDARY

Functions§

create_zone
Create a new zone
delete_zone
Delete a zone
freeze_zone
Freeze a zone (disable dynamic updates)
get_zone
Get a specific zone
list_zones
List all zones
modify_zone
Modify a zone configuration
notify_zone
Notify secondaries about zone changes
reload_zone
Reload a zone
retransfer_zone
Force a zone retransfer from primary
server_status
Get server status
thaw_zone
Thaw a zone (enable dynamic updates)
zone_status
Get zone status