LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-13-2011, 04:42 AM   #1
yovkoi
Member
 
Registered: Jun 2010
Posts: 37

Rep: Reputation: 0
Problem with local dns and registered domain!


Hey, I'm having a problem hosting my site. Let's say that:

1. My WAN IP is xxx.xxx.xxx.xxx
2. My local domain is dns1.dnsname.bg
3. My registered domain is dnsdomain.bg

Here's what the problem is. It's been 3 days since I entered dns names in the registered domain. Now from the apache/dns server I

can ping dns1.dnsname.bg (returns reply from dnsname.bg)
can host dns1.dnsname.bg (returns WAN IP - xxx.xxx.xxx.xxx)
can ping dnsname.bg (returns reply from my WAN IP - xxx.xxx.xxx.xxx)
cannot host dnsname.bg (returns timed out. cannot reach any servers)

From the outside of the local network I cannot do any of these.
If I put xxx.xxx.xxx.xxx www.dnsname.bg in the hosts file in Windows or Linux I can open the website. Ports 53/tcp, 53/udp, 80/tcp are allowed.

Any suggestions what could that problem come from?

Last edited by yovkoi; 02-13-2011 at 05:39 AM.
 
Old 02-13-2011, 06:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well as I read it all the "local" DNS is totally irrelevant, and you want this registered domain to work like any other, right? So the first thing you need to ensure is that the domain has NS records available from your registrar, which will tell other DNS servers how to find out information about your domain. So run "dig mydomainhere.com @8.8.8.8 -t ns" that's a google name server if you wondered) and ensure that it firstly tells you that your registrar has set up NS records for you. This is wholly their responsibility, although you may have had the opportunity to request specific name servers, e.g. zoneedit.com. Once your domain has NS records resolving you can make the DNS server on the NS record IP address start returning useful A records and the likes for your domain, and "dig mydomainhere.com @8.8.8.8" will return that data.

Alternatively if that last dig command already returns the right data, your DNS is fine globally and you've screwed up your individual machine / home network or something on that scale.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i set up a dns server if i don't have registered domain? cola Linux - Server 7 06-02-2010 09:51 PM
First domain registered, need help with setting up DNS server pokey Linux - Networking 4 03-13-2009 11:16 PM
Same Domain name configuration for local and registered server and Mx rec configure cbekannan Linux - Software 0 02-07-2005 05:46 AM
firewall, webserver and registered domain problem, i think tharris Linux - Networking 7 08-14-2002 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration