Nameservers
Hook includes a built-in authoritative DNS nameserver that can be deployed to handle DNS resolution for phishing domains. Nameservers synchronize their records with Helm and can be used as real nameservers for your domains.Overview
The nameserver system provides:- Authoritative DNS for your phishing domains
- Record synchronization with Helm database
- Multiple DNS record types (A, AAAA, CNAME, MX, TXT, etc.)
- Mesh network integration for secure management
- Local caching via Kache for resilience
Architecture
Nameserver Service
Registration
Each nameserver registers with Helm and stores its configuration:Deploying a Nameserver
Via Helm gRPC
Standalone
DNS Record Management
Adding Records via Helm
Records are managed centrally in Helm and synchronized to nameservers:Supported Record Types
| Type | Description | Example Value |
|---|---|---|
| A | IPv4 address | 1.2.3.4 |
| AAAA | IPv6 address | 2001:db8::1 |
| CNAME | Canonical name | target.example.com |
| MX | Mail exchange | 10 mail.example.com |
| TXT | Text record | v=spf1 include:... |
| NS | Nameserver | ns1.example.com |
| SRV | Service record | 10 5 443 target.example.com |
Synchronization
Manual Sync
Trigger a sync from the nameserver to pull records from Helm:Sync Process
Local Caching (Kache)
Records are cached locally for resilience:DNS Status
Check Record Status
List Records
Using as Real Nameservers
To use Hook nameservers as authoritative nameservers:- Deploy nameservers on public IPs
- Register NS records with your domain registrar pointing to your nameserver IPs
- Add glue records if nameservers are within the same domain
- Configure DNS records in Helm
- Sync to push records to nameservers
Example Setup
Nameserver Management
List Nameservers
Get Status
Stop Nameserver
Next Steps
- DNS Management - DNS providers and records
- Mesh Network - Secure communication
- Overview - Back to architecture

