Skip to main content

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

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:
  1. Deploy nameservers on public IPs
  2. Register NS records with your domain registrar pointing to your nameserver IPs
  3. Add glue records if nameservers are within the same domain
  4. Configure DNS records in Helm
  5. Sync to push records to nameservers

Example Setup

Nameserver Management

List Nameservers

Get Status

Stop Nameserver

Next Steps