Sovereign 8s.is mirror of 8b-is/i1-dns
  • Rust 72.9%
  • Shell 15.5%
  • JavaScript 11.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-31 12:09:50 +01:00
deploy chore(i1-dns): sync harmony_sign and ISNIC scripts 2026-10-30 17:15:54 +09:00
docs docs: Add ACME API documentation for DNS-01 challenges 2026-02-04 15:43:29 +01:00
src chore(i1-dns): sync harmony_sign and ISNIC scripts 2026-10-30 17:15:54 +09:00
systemd init 2026-01-28 19:06:13 +01:00
tests audit(a6000): alexiai:8787 + RTX 6000 Ada verified zero-float kernel for ipv4_salience_route_hash — Why did the Borg Assimilator refuse f64? Resistance to rational p/q integers is futile! 2026-10-30 01:17:00 +01:00
zones dns(aye.is): bump _ayeos-ota TXT records to v5.4.0 2026-10-31 12:09:50 +01:00
.claude_consciousness.m8 catchup 2026-02-04 23:21:37 +01:00
.gitignore init 2026-01-28 19:06:13 +01:00
Cargo.lock feat(dns): v0.2.0 Ed25519 Secure DNS version advertising (_smart-tree.i1.is & _smart-tree.8b.is TXT + RRSIG) 2026-10-25 09:33:36 +09:00
Cargo.toml feat(dns): v0.2.0 Ed25519 Secure DNS version advertising (_smart-tree.i1.is & _smart-tree.8b.is TXT + RRSIG) 2026-10-25 09:33:36 +09:00
README.md init 2026-01-28 19:06:13 +01:00
SESSION-NOTES-2026-01-28.md fix: update zone with correct server IPs and TTLs 2026-01-28 21:03:22 +01:00

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