DNS Automation
This project includes a tool to automate DNS configuration via Namecheap API.
Pre-requisites
- Namecheap API Key (Whitelisted IP needed).
- Credentials in Doppler:
NAMECHEAP_API_USERNAMECHEAP_API_KEY
Tool: tools/dns-automation.ts
This script:
- Detects current Public IP.
- Fetches existing records for
singulardream.org(to avoid overwriting). - Injects/Updates the
docsCNAME record pointing tosd-hoa.github.io. - Pushes the full record set back to Namecheap.
Usage
Note: This script logic is required because Namecheap's
setHostscommand is destructive (it replaces ALL records). We heavily rely on accurate fetching before saving.
Version History
| Version | Date | Author | Change |
|---|---|---|---|
| 0.1.0 | 2026-01-26 | Antigravity | Initial Audit & Metadata Injection |