Quick Start¶
Get bindcar up and running in minutes with this quick start guide.
Using Docker¶
The fastest way to try bindcar:
# Pull the latest image
docker pull ghcr.io/firestoned/bindcar:latest
# Run bindcar
docker run -d \
--name bindcar \
-p 8080:8080 \
-v /var/cache/bind:/var/cache/bind \
-e RUST_LOG=info \
ghcr.io/firestoned/bindcar:latest
Verify It's Running¶
Check the health endpoint:
Expected response:
Create Your First Zone¶
curl -X POST http://localhost:8080/api/v1/zones \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-token-here" \
-d '{
"zoneName": "example.com",
"zoneType": "primary",
"zoneConfig": {
"ttl": 3600,
"soa": {
"primaryNs": "ns1.example.com.",
"adminEmail": "admin.example.com.",
"serial": 1,
"refresh": 3600,
"retry": 1800,
"expire": 604800,
"negativeTtl": 86400
},
"nameservers": ["ns1.example.com.", "ns2.example.com."],
"records": [
{
"name": "@",
"type": "A",
"value": "192.0.2.1",
"ttl": 3600
}
]
}
}'
List Zones¶
Get Zone Status¶
curl http://localhost:8080/api/v1/zones/example.com/status \
-H "Authorization: Bearer your-token-here"
Interactive API Documentation¶
bindcar provides interactive Swagger UI documentation:
Next Steps¶
- Configuration - Configure environment variables
- Authentication - Set up authentication
- Creating Zones - Learn more about zone creation
- API Reference - Complete API documentation