local.dev
Manage local DNS resolution for your development environment.
Overview
local.dev includes a Technitium DNS server for local domain management.
Accessing DNS
Navigate to Local → DNS in your dashboard.
Zones
Creating a Zone
- Click Add Zone
- Enter the domain name
- Configure zone type
- Add records
Zone Types
| Type | Description |
|---|---|
| Primary | Authoritative zone |
| Secondary | Replica of primary |
| Stub | Pointer to authoritative servers |
DNS Records
Adding Records
Name: api
Type: A
Value: 127.0.0.1
TTL: 300Record Types
| Type | Purpose |
|---|---|
| A | IPv4 address |
| AAAA | IPv6 address |
| CNAME | Alias to another name |
| TXT | Text information |
| MX | Mail server |
| SRV | Service location |
Common Configurations
Local Development Domain
*.local.test → 127.0.0.1This routes all subdomains to localhost.
Service Discovery
api.local.test → 127.0.0.1:3000
db.local.test → 127.0.0.1:5432
cache.local.test → 127.0.0.1:6379Configuration
System DNS Setup
Point your system to use local.dev DNS:
macOS:
sudo networksetup -setdnsservers Wi-Fi 10.3.3.3Linux:
echo "nameserver 10.3.3.3" | sudo tee /etc/resolv.confTroubleshooting
DNS Not Resolving
- Verify DNS server is running
- Check zone configuration
- Flush DNS cache
- Test with
digornslookup