Autonomous Security Infrastructure Whitepaper (v1.1)

Zero-Delegation · End-to-End TLS · DNSSEC + DANE      🔗 Verified Whitepaper Link

1. Introduction #

The glitter.kr infrastructure implements a fully autonomous security model that directly signs and validates every layer—from authoritative DNS to web and mail—without relying on external proxies or delegations. This whitepaper organizes the structure and demonstrates the completeness and transparency of the trust chain approach.

The infrastructure aims for fully autonomous security across all sections without external proxies or delegation.

This phrase is quoted from a public post by glitter gim on October 30, 2025 (sir.kr), and the source of the post and this white paper has been verified.

Core Principle: Direct control without delegation ensures the highest level of security and transparency.

2. Objectives #

Security Goals

  • No Proxy · No Relay · No Delegation
  • Maintain a single trust chain from Root → TLD → Zone → Application
  • Direct TLS negotiation between clients and servers
  • Minimize certificate spoofing risk via DNSSEC + DANE

Operational Goals

  • Automated signing and certificate pipelines
  • High observability and minimal failure domains
  • Process isolation for fault containment

3. System Overview #

Name Servers
ns1–ns5.glitter.kr self-managed BIND instances
Web Layer
Nginx Reverse Proxy → Direct Uvicorn/FastAPI backend
Mail Layer
Postfix + Dovecot, DANE-enabled SMTP
Internal Network
Loopback-only (127.0.0.1), external relay disabled

4. DNS Security Architecture #

The authoritative DNS servers implement full DNSSEC with separated KSK/ZSK. The zone is automatically re-signed and distributed across ns1–ns5. For mail integrity, the _25._tcp.mail.glitter.kr TLSA record is generated, signed, and published in synchronization. The DS record is properly registered at the .kr registry, completing the Root→TLD→Zone trust chain.

  • Nameservers: ns1–ns5 self-hosted BIND
  • DNSSEC: Separated KSK/ZSK with automated ZSK rollover
  • DANE/TLSA: 3 1 1 (DANE-EE, SPKI SHA-256)
  • No external caching or proxying path

Verification Commands

dig -4 +dnssec +multi glitter.kr SOA
dig -4 +dnssec +multi glitter.kr DNSKEY
dig -4 +dnssec +multi glitter.kr DS
dig -4 +dnssec +multi glitter.kr TXT
dig -4 +dnssec +multi glitter.kr CAA
dig -4 +trace glitter.kr @a.root-servers.net
dig -4 +dnssec +multi _smtp._tls.glitter.kr TXT
dig -4 +dnssec +multi _587._tcp.mail.glitter.kr TLSA
dig -4 +dnssec +multi _443._tcp.captcha.glitter.kr TLSA
dig -4 +dnssec +multi glitter.kr SOA @1.1.1.1
dig -4 +dnssec +multi glitter.kr DNSKEY @1.1.1.1
dig -4 +dnssec +multi glitter.kr DS @1.1.1.1
dig -4 +dnssec +multi _smtp._tls.glitter.kr TXT @1.1.1.1
dig -4 +dnssec +multi _587._tcp.mail.glitter.kr TLSA @1.1.1.1
dig -4 +dnssec +multi _443._tcp.captcha.glitter.kr TLSA @1.1.1.1
dig -4 +dnssec +multi +nocmd +noall +answer +comments glitter.kr A
dig -4 +dnssec +multi glitter.kr DS @203.248.252.2
dig -4 +dnssec +multi _mta-sts.glitter.kr TXT
delv -4 +vtrace A glitter.kr
delv -4 nonexistent123.glitter.kr A
delv -4 @1.1.1.1 +vtrace DS glitter.kr
delv -4 @1.1.1.1 _587._tcp.mail.glitter.kr TLSA
delv -4 @1.1.1.1 _443._tcp.captcha.glitter.kr TLSA
curl -s https://mta-sts.glitter.kr/.well-known/mta-sts.txt
openssl s_client -starttls smtp -connect smtp.glitter.kr:587 -servername smtp.glitter.kr -brief < /dev/null

The MTA-STS policy is published at https://mta-sts.glitter.kr/.well-known/mta-sts.txt.

5. End-to-End Encryption #

By excluding CDNs and WAF proxies, all HTTPS traffic is terminated directly at Nginx and connected to backend Uvicorn/FastAPI instances. With no intermediate decryption points, TLS is negotiated directly between client and server, structurally eliminating MITM vectors. HSTS (Preload), CSP, COOP/CORP, and Referrer-Policy headers are fully enforced.

  • No proxy: Cloudflare, AWS, Akamai excluded
  • No mid-layer decryption: True End-to-End TLS
  • Security headers: HSTS, CSP, COOP/CORP, Referrer-Policy
  • Certificates: Auto-issued and renewed via Let’s Encrypt

6. Mail Layer Security #

SPF, DKIM, DMARC, MTA-STS, and TLSRPT are fully implemented alongside DANE-based SMTP. Outbound mail routes follow KR → SG → DE/US relays, all protected under the DNSSEC trust chain.

  • Stack: Postfix + Dovecot
  • Policies: SPF, DKIM, DMARC, MTA-STS, TLSRPT
  • DANE(SMTP-TLSA): Minimal dependency on public CAs
  • Transparent routing: KR → SG → DE/US relays

7. Application Isolation #

Each virtual host runs as an independent Uvicorn/FastAPI instance. Strong systemd hardening options such as NoNewPrivileges and RestrictNamespaces are applied to prevent privilege escalation, with all internal communication restricted to loopback.

  • Process isolation: one Uvicorn instance per service
  • Hardening: NoNewPrivileges, RestrictNamespaces
  • Binding: 127.0.0.1 only

8. Operational Automation #

All logs (journald, nginx, systemd) are unified and monitored. DNSSEC signing and certificate renewal are fully automated. The same pipeline can be reused for other TLDs supporting DNSSEC.

  • Logging: journald + nginx + systemd
  • DNSSEC: Automated zone re-signing
  • ACME: Auto certificate issuance and deployment

9. Security Evaluation #

  • No proxy intervention (0% by design)
  • Full transparency of TLS negotiation
  • Complete Root → TLD → Zone trust chain
  • No external dependency for verification
Overall, this infrastructure provides greater consistency and spoofing resistance than commercial CDN or managed DNS platforms.

10. Conclusion #

A self-hosted, physically controlled autonomous infrastructure achieves both security and transparency through a non-delegated trust model. The model can be scaled to institutional, enterprise, or personal domains, and extended to subdomains and service layers following the same principles.