#1  
Old 29th April 2010, 16:54
sampson sampson is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Self DNS / Godaddy

Hi,

I ran through the Perfect server setup, Debian/Lenny, and am trying in vain to get DNS working.

I am registered through Godaddy. I setup the domain to point to ns1.domain.com and ns2.domain.com. I also added glue records that set ns1 and ns2 to my ip address.

In ipconfig DNS:
Zone: domain.com
NS: ns1.domain.com
Email: mail.domain.com
Allow transfers: [my ip address]

Then under that zone added records:
Code:
TYPE     NAME                      DATA
A          domain.com            [my ip address]
CNAME      www.domain.com    domain.com
MX        domain.com            mail.domain.com
NS        domain.com            ns1.domain.com
NS        domain.com            ns2.domain.com
But now, no external tools (dnscog, dig) indicate that the zone even exists. I cannot access the site (http, ping, traceroute, etc) through the domain name and cant ping the nameservers.

Any ideas on what I'm doing wrong?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 29th April 2010, 17:13
sampson sampson is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://www.how2forge.org/forums/showthread.php?p=146330
Reply With Quote
  #3  
Old 29th April 2010, 17:41
sampson sampson is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Trying the settings in the above link do not appear to help.
Reply With Quote
  #4  
Old 29th April 2010, 20:05
sampson sampson is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is really strange. I can now ping ns1.domain.com and ns2.domain.com, and even get to a "It Works!" page if I visit ns1.domain.com in my browser. However, I can not get to the site via domain.com or www.domain.com.

Can someone please help me out?
Reply With Quote
  #5  
Old 29th April 2010, 20:42
charlesrg charlesrg is offline
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 2
Thanked 4 Times in 2 Posts
Default

Dude this is easy to troubleshoot.

If your server is your own DNS server just use dig


dig domain.com @localhost

dig www.domain.com @localhost

If you want to check an external server for the answer do:

dig domain.com @8.8.8.8

Remember that DNS cache's zones, so make sure your server is answering correct and the others will do when the cache expires.

If you need to check for a A , NS or MX entry use:

dig domain.com MX @8.8.8.8
Reply With Quote
  #6  
Old 29th April 2010, 21:08
sampson sampson is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yeah, I was doing all of that. Turns out, it was a silly issue that was preventing things from working: I had opened up port 53 on my firewall, but only TCP. Once I added 53 UDP to the allowed connections everything started working.

Thanks!
Reply With Quote
Reply

Bookmarks

Tags
dns

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
dns problem with .eu domain from godaddy adrenalinic Installation/Configuration 5 15th October 2007 11:30
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34


All times are GMT +2. The time now is 04:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.