Download OpenAPI specification:
This is the API documentation for Bindizr
{- "zones": [
- {
- "id": 1,
- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}
]
}Creates a new DNS zone with the specified details.
| name required | string |
| primary_ns required | string |
| primary_ns_ip required | string <ipv4> |
| primary_ns_ipv6 | string <ipv6> |
| admin_email required | string <email> |
| ttl required | integer <int32> |
| serial required | integer <int32> |
| refresh | integer <int32> |
| retry | integer <int32> |
| expire | integer <int32> |
| minimum_ttl | integer <int32> |
{- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}{- "id": 1,
- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}Retrieves details of a specific DNS zone by its ID.
| zone_id required | integer <int32> The ID of the DNS zone to retrieve. |
| records | boolean Default: false Whether to include the history of the DNS zone. |
{- "id": 1,
- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}Updates the details of a specific DNS zone.
| zone_id required | integer <int32> The ID of the DNS zone to update. |
| name required | string |
| primary_ns required | string |
| primary_ns_ip required | string <ipv4> |
| primary_ns_ipv6 | string <ipv6> |
| admin_email required | string <email> |
| ttl required | integer <int32> |
| serial required | integer <int32> |
| refresh | integer <int32> |
| retry | integer <int32> |
| expire | integer <int32> |
| minimum_ttl | integer <int32> |
{- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}{- "id": 1,
- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "primary_ns_ip": "127.0.0.1",
- "primary_ns_ipv6": "::1",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}Retrieves the history of changes made to a specific DNS zone.
| zone_id required | integer <int32> The ID of the DNS zone to retrieve history for. |
{- "zone_histories": [
- {
- "id": 1,
- "log": "[2025-10-01 12:00:00] Zone created: id=1, name=example.com",
- "created_at": "2023-10-01T12:00:00Z",
- "zone_id": 1
}
]
}Deletes a specific history of a DNS zone by its ID.
| zone_id required | integer <int32> The ID of the DNS zone to delete history for. |
| history_id required | integer <int32> The ID of the history to delete. |
{- "message": "Zone history deleted successfully"
}Retrieves a list of all DNS records.
| zone_id | integer <int32> The ID of the DNS zone to filter records by. |
{- "records": [
- {
- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "zone_id": 1
}
]
}Creates a new DNS record with the specified details.
| name required | string |
| record_type required | string Enum: "A" "AAAA" "CNAME" "MX" "TXT" "NS" "SOA" "SRV" "PTR" |
| value required | string |
| ttl | integer <int32> |
| priority | integer <int32> |
| zone_id required | integer <int32> |
{- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1
}{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "zone_id": 1
}Retrieves details of a specific DNS record by its ID.
| record_id required | integer <int32> The ID of the DNS record to retrieve. |
{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "zone_id": 1
}Updates the details of a specific DNS record.
| record_id required | integer <int32> The ID of the DNS record to update. |
| name required | string |
| record_type required | string Enum: "A" "AAAA" "CNAME" "MX" "TXT" "NS" "SOA" "SRV" "PTR" |
| value required | string |
| ttl | integer <int32> |
| priority | integer <int32> |
| zone_id required | integer <int32> |
{- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1
}{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "zone_id": 1
}Retrieves the history of changes made to a specific DNS record.
| record_id required | integer <int32> The ID of the DNS record to retrieve history for. |
{- "record_histories": [
- {
- "id": 1,
- "log": "[2025-10-01 12:00:00] Record created: id=1, zone_id=1, name=sub, type=A, value=127.0.0.1",
- "created_at": "2023-10-01T12:00:00Z",
- "record_id": 1
}
]
}Deletes a specific history of a DNS record by its ID.
| record_id required | integer <int32> The ID of the DNS record to delete history for. |
| history_id required | integer <int32> The ID of the history to delete. |
{- "message": "Record history deleted successfully"
}