🌐 DNS Configuration

Complete Custom Domain Setup Guide

Configure DNS records for RFS-Portable-BTS GitHub Pages deployment

🎯 DNS Configuration Overview

This guide covers the complete DNS configuration for RFS-Portable-BTS, including custom domain setup, DNS records configuration, and GitHub Pages integration. Proper DNS configuration ensures reliable access to your documentation and services.

✅ Key Features

Custom domain setup, DNS records configuration, SSL certificate management, and GitHub Pages integration for professional documentation hosting.

📋 Required DNS Records

🌐 A Records (IPv4)

  • 185.199.108.153
  • 185.199.109.153
  • 185.199.110.153
  • 185.199.111.153

🔗 AAAA Records (IPv6)

  • 2606:50c0:8000::153
  • 2606:50c0:8001::153
  • 2606:50c0:8002::153
  • 2606:50c0:8003::153

📧 CNAME Records

  • www -> portable-bts.telco-sec.com
  • docs -> portable-bts.telco-sec.com
  • api -> portable-bts.telco-sec.com

🔧 Domain Provider Configuration

Cloudflare Configuration

# Cloudflare DNS Configuration
# Add these records in your Cloudflare dashboard

# A Records
Type: A
Name: @
Content: 185.199.108.153
TTL: Auto
Proxy status: Proxied

Type: A
Name: @
Content: 185.199.109.153
TTL: Auto
Proxy status: Proxied

Type: A
Name: @
Content: 185.199.110.153
TTL: Auto
Proxy status: Proxied

Type: A
Name: @
Content: 185.199.111.153
TTL: Auto
Proxy status: Proxied

# CNAME Records
Type: CNAME
Name: www
Content: portable-bts.telco-sec.com
TTL: Auto
Proxy status: Proxied

GoDaddy Configuration

# GoDaddy DNS Configuration
# Access: GoDaddy DNS Management

# A Records
Host: @
Points to: 185.199.108.153
TTL: 1 Hour

Host: @
Points to: 185.199.109.153
TTL: 1 Hour

Host: @
Points to: 185.199.110.153
TTL: 1 Hour

Host: @
Points to: 185.199.111.153
TTL: 1 Hour

# CNAME Records
Host: www
Points to: portable-bts.telco-sec.com
TTL: 1 Hour

Namecheap Configuration

# Namecheap DNS Configuration
# Access: Namecheap Advanced DNS

# A Records
Type: A Record
Host: @
Value: 185.199.108.153
TTL: 5 min

Type: A Record
Host: @
Value: 185.199.109.153
TTL: 5 min

Type: A Record
Host: @
Value: 185.199.110.153
TTL: 5 min

Type: A Record
Host: @
Value: 185.199.111.153
TTL: 5 min

# CNAME Records
Type: CNAME Record
Host: www
Value: portable-bts.telco-sec.com
TTL: 5 min

🔒 SSL Certificate Setup

🛡️ GitHub Pages SSL

  • Automatic SSL certificates
  • Let's Encrypt integration
  • Automatic renewal
  • HTTPS enforcement
  • HSTS headers
  • Certificate transparency

🔐 Custom SSL

  • Custom certificate upload
  • Wildcard certificates
  • Extended validation
  • Certificate chains
  • Private key management
  • Certificate monitoring

SSL Configuration

# Enable HTTPS in GitHub Pages
# 1. Go to repository Settings
# 2. Navigate to Pages section
# 3. Enable "Enforce HTTPS"

# Verify SSL certificate
openssl s_client -connect portable-bts.telco-sec.com:443 -servername portable-bts.telco-sec.com

# Check certificate details
echo | openssl s_client -connect portable-bts.telco-sec.com:443 -servername portable-bts.telco-sec.com 2>/dev/null | openssl x509 -noout -dates

# Test SSL configuration
curl -I https://portable-bts.telco-sec.com

📊 DNS Verification

DNS Lookup Commands

#!/bin/bash
# DNS Verification Script

echo "=== DNS Configuration Verification ==="

# Check A records
echo "1. A Records Check:"
dig +short portable-bts.telco-sec.com A

# Check AAAA records
echo "2. AAAA Records Check:"
dig +short portable-bts.telco-sec.com AAAA

# Check CNAME records
echo "3. CNAME Records Check:"
dig +short www.portable-bts.telco-sec.com CNAME

# Check MX records
echo "4. MX Records Check:"
dig +short portable-bts.telco-sec.com MX

# Check TXT records
echo "5. TXT Records Check:"
dig +short portable-bts.telco-sec.com TXT

# Check NS records
echo "6. NS Records Check:"
dig +short portable-bts.telco-sec.com NS

# Test connectivity
echo "7. Connectivity Test:"
ping -c 4 portable-bts.telco-sec.com

# Test HTTPS
echo "8. HTTPS Test:"
curl -I https://portable-bts.telco-sec.com

echo "=== DNS Verification Complete ==="

Online DNS Tools

# Online DNS verification tools
# 1. DNS Checker: https://dnschecker.org/
# 2. What's My DNS: https://whatsmydns.net/
# 3. DNS Propagation: https://dnspropagation.net/
# 4. MX Toolbox: https://mxtoolbox.com/
# 5. DNS Lookup: https://www.dnswatch.info/

# Test commands
nslookup portable-bts.telco-sec.com
host portable-bts.telco-sec.com
dig portable-bts.telco-sec.com
whois portable-bts.telco-sec.com

🔧 Advanced DNS Configuration

📧 Email Configuration

  • MX records for email
  • SPF records for authentication
  • DKIM records for signing
  • DMARC records for policy
  • Email forwarding setup
  • Anti-spam configuration

🔍 Subdomain Setup

  • API subdomain
  • Admin subdomain
  • CDN subdomain
  • Monitoring subdomain
  • Development subdomain
  • Staging subdomain

Email DNS Records

# Email DNS Configuration
# MX Records
Type: MX
Name: @
Value: 10 mail.portable-bts.telco-sec.com
TTL: 3600

# SPF Record
Type: TXT
Name: @
Value: "v=spf1 include:_spf.google.com ~all"
TTL: 3600

# DKIM Record
Type: TXT
Name: default._domainkey
Value: "v=DKIM1; k=rsa; p=YOUR_PUBLIC_KEY"
TTL: 3600

# DMARC Record
Type: TXT
Name: _dmarc
Value: "v=DMARC1; p=quarantine; rua=mailto:[email protected]"
TTL: 3600

Subdomain Configuration

# Subdomain DNS Configuration
# API Subdomain
Type: CNAME
Name: api
Value: portable-bts.telco-sec.com
TTL: 3600

# Admin Subdomain
Type: CNAME
Name: admin
Value: portable-bts.telco-sec.com
TTL: 3600

# CDN Subdomain
Type: CNAME
Name: cdn
Value: portable-bts.telco-sec.com
TTL: 3600

# Monitoring Subdomain
Type: CNAME
Name: monitor
Value: portable-bts.telco-sec.com
TTL: 3600

🔧 Troubleshooting

❌ Common Issues

  • DNS propagation delays
  • Incorrect DNS records
  • SSL certificate issues
  • Subdomain not working
  • Email delivery problems
  • CDN configuration issues

🔍 Diagnostic Commands

  • DNS lookup verification
  • SSL certificate check
  • Connectivity testing
  • Email delivery testing
  • Subdomain verification
  • Performance monitoring

Diagnostic Script

#!/bin/bash
# DNS Troubleshooting Script

echo "=== DNS Troubleshooting ==="

# Check DNS resolution
echo "1. DNS Resolution:"
nslookup portable-bts.telco-sec.com

# Check specific record types
echo "2. A Records:"
dig +short portable-bts.telco-sec.com A

echo "3. AAAA Records:"
dig +short portable-bts.telco-sec.com AAAA

echo "4. CNAME Records:"
dig +short www.portable-bts.telco-sec.com CNAME

# Check SSL certificate
echo "5. SSL Certificate:"
openssl s_client -connect portable-bts.telco-sec.com:443 -servername portable-bts.telco-sec.com < /dev/null 2>/dev/null | openssl x509 -noout -dates

# Test connectivity
echo "6. Connectivity Test:"
ping -c 4 portable-bts.telco-sec.com

# Test HTTP/HTTPS
echo "7. HTTP Test:"
curl -I http://portable-bts.telco-sec.com

echo "8. HTTPS Test:"
curl -I https://portable-bts.telco-sec.com

# Check DNS propagation
echo "9. DNS Propagation Check:"
dig @8.8.8.8 portable-bts.telco-sec.com A
dig @1.1.1.1 portable-bts.telco-sec.com A

echo "=== Troubleshooting Complete ==="

🚀 Configure Your DNS

Set up custom domain and DNS configuration for RFS-Portable-BTS

📖 Installation Guide 🔧 Troubleshooting 💬 Community Support