73 lines
1.4 KiB
Markdown
73 lines
1.4 KiB
Markdown
|
|
# DNS Update Script - Quick Reference
|
||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
1. **Add to `.env` file:**
|
||
|
|
```bash
|
||
|
|
PUBLIC_IP=76.53.10.35
|
||
|
|
CLOUDFLARE_API_TOKEN=your-token-here
|
||
|
|
CLOUDFLARE_ZONE_ID_SANKOFA_NEXUS=your-zone-id
|
||
|
|
CLOUDFLARE_ZONE_ID_D_BIS_ORG=your-zone-id
|
||
|
|
CLOUDFLARE_ZONE_ID_MIM4U_ORG=your-zone-id
|
||
|
|
CLOUDFLARE_ZONE_ID_DEFI_ORACLE_IO=your-zone-id
|
||
|
|
```
|
||
|
|
|
||
|
|
2. **Run the script:**
|
||
|
|
```bash
|
||
|
|
./scripts/update-all-dns-to-public-ip.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
## What It Updates
|
||
|
|
|
||
|
|
All DNS records are set to:
|
||
|
|
- **Type**: A record
|
||
|
|
- **Content**: 76.53.10.35 (single public IP)
|
||
|
|
- **Proxy**: DNS only (gray cloud)
|
||
|
|
- **TTL**: 1 (auto)
|
||
|
|
|
||
|
|
## Domains Updated
|
||
|
|
|
||
|
|
### sankofa.nexus (5 records)
|
||
|
|
- sankofa.nexus
|
||
|
|
- www.sankofa.nexus
|
||
|
|
- phoenix.sankofa.nexus
|
||
|
|
- www.phoenix.sankofa.nexus
|
||
|
|
- the-order.sankofa.nexus
|
||
|
|
|
||
|
|
### d-bis.org (9 records)
|
||
|
|
- rpc-http-pub.d-bis.org
|
||
|
|
- rpc-ws-pub.d-bis.org
|
||
|
|
- rpc-http-prv.d-bis.org
|
||
|
|
- rpc-ws-prv.d-bis.org
|
||
|
|
- explorer.d-bis.org
|
||
|
|
- dbis-admin.d-bis.org
|
||
|
|
- dbis-api.d-bis.org
|
||
|
|
- dbis-api-2.d-bis.org
|
||
|
|
- secure.d-bis.org
|
||
|
|
|
||
|
|
### mim4u.org (4 records)
|
||
|
|
- mim4u.org
|
||
|
|
- www.mim4u.org
|
||
|
|
- secure.mim4u.org
|
||
|
|
- training.mim4u.org
|
||
|
|
|
||
|
|
### defi-oracle.io (1 record)
|
||
|
|
- rpc.public-0138.defi-oracle.io
|
||
|
|
|
||
|
|
**Total: 19 DNS records**
|
||
|
|
|
||
|
|
## Verification
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Test DNS resolution
|
||
|
|
dig sankofa.nexus +short
|
||
|
|
dig secure.d-bis.org +short
|
||
|
|
dig mim4u.org +short
|
||
|
|
|
||
|
|
# All should return: 76.53.10.35
|
||
|
|
```
|
||
|
|
|
||
|
|
## Full Documentation
|
||
|
|
|
||
|
|
See: `docs/04-configuration/DNS_UPDATE_SCRIPT_GUIDE.md`
|