What DNS Configuration Involves
DNS configuration with GoDaddy involves managing how your domain name connects to web hosting, email services, and other online resources. GoDaddy provides DNS management tools that allow you to create and modify DNS records, set up subdomains, configure email routing, and manage how internet traffic reaches your services.
Accessing GoDaddy DNS Management
Logging Into Your Account
- Go to godaddy.com
- Click "Sign In" in the top right corner
- Enter your username/email and password
- Complete any security verification steps
- Access your account dashboard
Finding Your Domain
- In your account dashboard, click "My Products"
- Look for the "Domains" section
- Find your domain in the list
- Click "DNS" or "Manage DNS" next to your domain
- You'll be taken to the DNS management interface
Understanding GoDaddy DNS Options
DNS Management Types
GoDaddy offers different DNS management options:
- GoDaddy Nameservers: Use GoDaddy's DNS service
- Custom Nameservers: Use third-party DNS providers
- Domain Forwarding: Redirect your domain to another URL
- DNS Hosting: Advanced DNS management features
Checking Current Nameservers
- In the DNS management area, look for "Nameservers"
- You'll see current nameserver settings
- Default GoDaddy nameservers typically look like:
- ns1.domaincontrol.com
- ns2.domaincontrol.com
- If using custom nameservers, you'll see different entries
Basic DNS Record Management
Accessing DNS Records
- Ensure you're using GoDaddy nameservers
- In DNS management, scroll down to "DNS Records" section
- You'll see a table of current DNS records
- Common record types are displayed with their values
Understanding DNS Record Types
- A: Points domain to an IPv4 address
- AAAA: Points domain to an IPv6 address
- CNAME: Points domain to another domain name
- MX: Directs email to mail servers
- TXT: Contains text data for verification and configuration
- NS: Specifies authoritative name servers
- SRV: Specifies services available on the domain
Setting Up Website Hosting
Pointing Domain to Your Web Host
- Get your hosting provider's IP address
- In DNS Records section, look for existing A records
- Edit the A record for your root domain:
- Type: A
- Name: @ (represents your root domain)
- Value: Your hosting server's IP address
- TTL: 1 Hour (3600 seconds) or default
- Edit or add A record for www:
- Type: A
- Name: www
- Value: Same hosting IP address
- TTL: 1 Hour
- Save all changes
Using CNAME Records for Hosting
- Some hosting providers prefer CNAME records
- Create CNAME record for www:
- Type: CNAME
- Name: www
- Value: your-host-domain.com
- TTL: 1 Hour
- Root domain (@) must still use A record
- CNAME cannot be used for root domain
Email Configuration
Setting Up MX Records
- Get MX record information from your email provider
- In DNS Records, look for existing MX records
- Delete old MX records if changing email providers
- Add new MX record:
- Type: MX
- Name: @ (for root domain email)
- Value: mail server address
- Priority: Number provided by email host
- TTL: 1 Hour
- Add multiple MX records if provided
- Save changes
Popular Email Provider Settings
Google Workspace MX Records
- Add these MX records with specified priorities:
- Priority 1: aspmx.l.google.com
- Priority 5: alt1.aspmx.l.google.com
- Priority 5: alt2.aspmx.l.google.com
- Priority 10: alt3.aspmx.l.google.com
- Priority 10: alt4.aspmx.l.google.com
- Remove any existing MX records
- Host field should be @ for all records
Microsoft 365 MX Records
- Add single MX record:
- Priority: 0
- Value: yourdomain-com.mail.protection.outlook.com
- Replace "yourdomain-com" with your actual domain name
- Remove any existing MX records
Creating and Managing Subdomains
Adding Subdomains
- Decide on subdomain names (blog, shop, mail, etc.)
- In DNS Records, click "Add New Record"
- Create A record for subdomain:
- Type: A
- Name: subdomain name (e.g., "blog")
- Value: IP address of target server
- TTL: 1 Hour
- Or create CNAME record:
- Type: CNAME
- Name: subdomain name
- Value: target domain name
- Save and test the subdomain
Wildcard Subdomains
- Create a catch-all for undefined subdomains
- Add A record with wildcard:
- Type: A
- Name: * (asterisk)
- Value: IP address
- TTL: 1 Hour
- This matches any subdomain not specifically defined
- Use carefully as it affects all undefined subdomains
Domain Forwarding and Redirects
Setting Up Domain Forwarding
- In your domain management, look for "Forwarding"
- Click "Add Forwarding" or "Set up forwarding"
- Configure forwarding options:
- Forward to: Destination URL
- Redirect type: 301 (permanent) or 302 (temporary)
- Forward settings: Forward only or forward with masking
- Set up both www and non-www if needed
- Save and test the forwarding
Subdomain Forwarding
- Create forwarding for specific subdomains
- Useful for redirecting old subdomains
- Configure similar to domain forwarding
- Test to ensure proper redirection
Third-Party Service Integration
CDN Configuration
- For services like Cloudflare, AWS CloudFront, or others
- Get DNS record information from CDN provider
- Update existing records to point traffic through CDN:
- Change A records to CDN IP addresses
- Or update CNAME to point to CDN domain
- Configure CDN to point back to your origin server
- Test website functionality through CDN
Verification and Authentication Records
- Many services require DNS verification
- Add TXT records for verification:
- Type: TXT
- Name: @ or specific subdomain as required
- Value: Verification string from service
- TTL: 1 Hour
- Common verification uses:
- Google Search Console verification
- Domain ownership confirmation
- SSL certificate validation
- Email authentication (SPF, DKIM, DMARC)
Advanced DNS Features
Email Authentication Setup
- Set up SPF record to prevent email spoofing:
- Type: TXT
- Name: @
- Value: v=spf1 include:_spf.google.com ~all (for Google)
- Add DKIM record if provided by email provider
- Set up DMARC policy:
- Name: _dmarc
- Value: v=DMARC1; p=quarantine; rua=mailto:admin@yourdomain.com
- These records improve email deliverability and security
SRV Records for Services
- Configure SRV records for specific services
- Common uses include:
- Microsoft Teams or Skype for Business
- VoIP services
- Game servers
- Chat services
- SRV record format:
- Service: _service
- Protocol: _tcp or _udp
- Name: subdomain or @
- Priority, Weight, Port: As specified by service
- Target: Server hostname
Using Custom Nameservers
Switching to External DNS Providers
- Popular external DNS providers:
- Cloudflare (free with enhanced features)
- Amazon Route 53 (AWS)
- Google Cloud DNS
- Azure DNS
- NS1 or Dyn
- Sign up with chosen DNS provider
- Get their nameserver addresses
- In GoDaddy domain management, change nameservers:
- Select "Custom" nameservers
- Enter the new nameserver addresses
- Save changes
- Wait for propagation (up to 48 hours)
Benefits of External DNS
- Performance: Often faster global response times
- Advanced features: Geographic routing, load balancing
- Better reliability: Higher uptime guarantees
- Enhanced security: DDoS protection and filtering
- Analytics: Detailed DNS query statistics
- API access: Programmatic DNS management
Monitoring and Troubleshooting
Checking DNS Propagation
- Use online DNS propagation checkers:
- whatsmydns.net
- dnschecker.org
- dns-lookup.com
- Enter your domain and select record type
- Check results from different global locations
- Full propagation typically takes 4-48 hours
- Most changes are visible within a few hours
Common DNS Problems and Solutions
- Website not accessible:
- Verify A record points to correct IP address
- Check that web server is running
- Confirm nameservers are set correctly
- Clear browser and DNS cache
- Wait for full DNS propagation
- Email delivery issues:
- Check MX records are correctly configured
- Verify email server is accepting connections
- Ensure no conflicting MX records exist
- Test with multiple email providers
- Check spam filters and reputation
- Subdomain problems:
- Verify subdomain DNS records
- Check that target server accepts subdomain
- Clear cache and test from different locations
DNS Diagnostic Tools
- Command line tools (Windows/Mac/Linux):
- nslookup yourdomain.com: Basic DNS lookup
- dig yourdomain.com: Detailed DNS information
- ping yourdomain.com: Test connectivity
- Online tools for comprehensive testing
- GoDaddy's built-in DNS propagation checker
- Browser developer tools for network analysis
Security and Protection
Domain Security Settings
- Enable domain lock to prevent unauthorized transfers
- Set up two-factor authentication on your account
- Use strong, unique passwords
- Enable privacy protection (WHOIS privacy)
- Monitor account activity regularly
DNS Security Best Practices
- Regular audits: Review DNS records monthly
- Remove unused records: Clean up old or unnecessary entries
- Monitor changes: Set up notifications for DNS modifications
- Backup records: Document current DNS configuration
- Limit access: Restrict who can modify DNS settings
Performance Optimization
TTL (Time To Live) Management
- Understand TTL impact on DNS caching
- Common TTL values and their uses:
- 300 seconds (5 minutes): For frequent changes
- 1800 seconds (30 minutes): Balanced setting
- 3600 seconds (1 hour): GoDaddy default
- 86400 seconds (24 hours): For stable records
- Lower TTL = faster changes, more DNS queries
- Higher TTL = slower changes, better caching
- Adjust based on your change frequency needs
DNS Performance Tips
- Minimize DNS lookups: Reduce number of external domains
- Use CDN services: Improve global response times
- Optimize record structure