Sovereign 8s.is mirror of 8b-is/i1-dns
- Rust 72.9%
- Shell 15.5%
- JavaScript 11.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| deploy | ||
| docs | ||
| src | ||
| systemd | ||
| tests | ||
| zones | ||
| .claude_consciousness.m8 | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| SESSION-NOTES-2026-01-28.md | ||
i1-dns
Authoritative DNS server for i1.is, built with Hickory DNS (Rust).
██╗ ██╗ ██████╗ ███╗ ██╗███████╗
██║███║ ██╔══██╗████╗ ██║██╔════╝
██║╚██║ █████╗██║ ██║██╔██╗ ██║███████╗
██║ ██║ ╚════╝██║ ██║██║╚██╗██║╚════██║
██║ ██║ ██████╔╝██║ ╚████║███████║
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
Architecture
┌─────────────────────────────────────────────────────────────────────────┐
│ i1.is DNS Infrastructure │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────┐ ┌─────────────────┐ │
│ │ ns1.i1.is │ Zone Sync │ ns2.i1.is │ │
│ │ 1.i1.is │◄──────────────────►│ 2.i1.is │ │
│ │ │ (WireGuard) │ │ │
│ │ 195.184.76.4 │ │ Hetzner Cloud │ │
│ │ Bare Metal EU │ │ US West │ │
│ └─────────────────┘ └─────────────────┘ │
│ │ │ │
│ └──────────────┬───────────────────────┘ │
│ │ │
│ ┌──────────────┐ │
│ │ ISNIC (.is) │ │
│ │ Registry │ │
│ └──────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Features
- Authoritative DNS for i1.is zone
- Query logging for threat intelligence
- DNSSEC support (coming soon)
- Smart Tree integration for security intel
- Geographic redundancy (EU + US)
- WireGuard backend for secure zone transfers
Quick Start
# Build
cargo build --release
# Test locally (port 5353)
./target/release/i1-dns
# Query
dog i1.is A @127.0.0.1:5353
Deployment
Deploy to ns1 (primary)
./deploy/deploy-ns.sh 195.184.76.4 ns1
Create ns2 on Hetzner Cloud
# With cloud-init (automatic setup)
hcloud server create --name ns2-i1-is --type cx22 --image debian-12 \
--location ash --ssh-key your-key --user-data-from-file deploy/cloud-init-ns2.yaml
# Then deploy binary
./deploy/deploy-ns.sh <ns2-ip> ns2
Test both nameservers
./deploy/test-nameservers.sh
Zone Records
| Record | Type | Value | Purpose |
|---|---|---|---|
| i1.is | A | 195.184.76.4 | Main site |
| ns1.i1.is | A | 195.184.76.4 | Primary NS |
| ns2.i1.is | A | (cloud IP) | Secondary NS |
| 1.i1.is | A | 195.184.76.4 | Short alias |
| 2.i1.is | A | (cloud IP) | Short alias |
| dns.i1.is | A | (cloud IP) | Public resolver |
| blocklist.i1.is | A | 195.184.76.4 | Threat intel |
| verify.i1.is | A | 195.184.76.4 | SHA verification |
Configuration
Environment variables:
DNS_PORT- Port to listen on (default: 5353, use 53 for production)RUST_LOG- Log level (default: info)
ISNIC Requirements
For .is domains, ISNIC requires:
- ✅ Two nameservers on different networks
- ✅ Both servers responding correctly
- ✅ Matching SOA serials
- ✅ Valid zone data
Security
- Runs with minimal privileges (CAP_NET_BIND_SERVICE only)
- UFW firewall rules included
- fail2ban for SSH protection
- WireGuard for internal communication
- Integrates with Smart Tree Guardian
License
MIT - 8b-IS
"Your DNS, your rules, your security" - 8b-IS