Onifast DNS is a lightweight, authoritative-only DNS server built into Onifast Panel. Full record management, wildcard support, and built-in master/slave clustering — all managed from the panel UI without touching a zone file.
No BIND, no zone file headaches. Onifast DNS stores everything in SQLite and exposes a clean panel API for full record management.
Managed through the panel UI or REST API — no command-line required.
Run redundant nameservers across multiple servers. Push zone changes from master to all slaves with a single API call.
Every DNS query goes through a fast, deterministic lookup pipeline that handles wildcards, NXDOMAIN, and refused queries correctly.
*.parent patterns# Query arrives on UDP/TCP :53 handleDNSQuery(w, r) # Step 1: exact name lookup records, exists = findDNSRecords( name = "sub.example.com.", type = "A" ) → check exact, exact., exact (no dot) → found? → reply NOERROR aa # Step 2: wildcard fallback → try *.example.com (parent zone) → found? → reply with matched name # Step 3: NXDOMAIN vs REFUSED → is example.com in our zones? yes → reply NXDOMAIN aa no → reply REFUSED # All hits logged to panel activity log
# Initialize a zone (auto NS + A + www) POST /api/dns/init { "domain": "example.com" } # Add a record POST /api/dns/add { "name": "mail.example.com", "type": "MX", "value": "mail.example.com", "priority": 10, "ttl": 3600 } # List all records for a domain GET /api/dns/records?domain=example.com # Push zone changes to slave nodes POST /api/dns/push-to-master # Reset a zone (delete all records) POST /api/dns/reset-zone { "domain": "example.com" } # Check DNS propagation externally GET /api/dns-checker?domain=example.com
Every DNS action — create, read, update, delete, cluster sync — is available via the Onifast Panel REST API.
Get Onifast Panel and run your own authoritative DNS server in minutes.