Download OpenAPI specification:
This is the API documentation for Bindizr
{- "zones": [
- {
- "id": 1,
- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "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 |
| admin_email required | string <email> |
| ttl required | integer <int32> |
| serial | integer <int32> Optional. Auto-generated in YYYYMMDDNN format if not provided |
| refresh | integer <int32> |
| retry | integer <int32> |
| expire | integer <int32> |
| minimum_ttl | integer <int32> |
{- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "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",
- "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 name.
| zone_name required | string The name 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",
- "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_name required | string The name of the DNS zone to update. |
| name required | string |
| primary_ns required | string |
| admin_email required | string <email> |
| ttl required | integer <int32> |
| serial | integer <int32> Optional. Auto-generated in YYYYMMDDNN format if not provided |
| refresh | integer <int32> |
| retry | integer <int32> |
| expire | integer <int32> |
| minimum_ttl | integer <int32> |
{- "name": "example.com",
- "primary_ns": "ns1.example.com",
- "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",
- "admin_email": "admin@example.com",
- "ttl": 3600,
- "serial": 2025100101,
- "refresh": 7200,
- "retry": 3600,
- "expire": 604800,
- "minimum_ttl": 3600
}Retrieves a list of all DNS records.
| zone_name | string Example: zone_name=example.com The name of the DNS zone to filter records by. |
{- "records": [
- {
- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1,
- "zone_name": "example.com"
}
]
}Creates a new DNS record with the specified details.
| name required | string The name of the DNS record |
| record_type required | string Enum: "A" "AAAA" "CNAME" "MX" "TXT" "NS" "SOA" "SRV" "PTR" The type of the DNS record |
| value required | string The value of the DNS record |
| ttl | integer <int32> Time to live in seconds (optional) |
| priority | integer <int32> Priority for MX and SRV records (optional) |
| zone_name required | string The name of the zone this record belongs to |
{- "name": "sub",
- "record_type": "A",
- "value": "192.168.1.100",
- "ttl": 3600,
- "priority": 10,
- "zone_name": "example.com"
}{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1,
- "zone_name": "example.com"
}Retrieves details of a specific DNS record by its name and type.
| record_name required | string The name of the DNS record to retrieve. |
| record_type required | string The type of the DNS record to retrieve. |
{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1,
- "zone_name": "example.com"
}Updates the details of a specific DNS record.
| record_name required | string The name of the DNS record to update. |
| record_type required | string The type of the DNS record to update. |
| name required | string The name of the DNS record |
| record_type required | string Enum: "A" "AAAA" "CNAME" "MX" "TXT" "NS" "SOA" "SRV" "PTR" The type of the DNS record |
| value required | string The value of the DNS record |
| ttl | integer <int32> Time to live in seconds (optional) |
| priority | integer <int32> Priority for MX and SRV records (optional) |
| zone_name required | string The name of the zone this record belongs to |
{- "name": "sub",
- "record_type": "A",
- "value": "192.168.1.100",
- "ttl": 3600,
- "priority": 10,
- "zone_name": "example.com"
}{- "id": 1,
- "name": "sub",
- "record_type": "A",
- "value": "127.0.0.1",
- "ttl": 3600,
- "priority": 10,
- "zone_id": 1,
- "zone_name": "example.com"
}Deletes a specific DNS record by its name and type.
| record_name required | string The name of the DNS record to delete. |
| record_type required | string The type of the DNS record to delete. |
{- "message": "Record deleted successfully"
}