LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2005, 02:39 PM   #1
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Rep: Reputation: 15
Setting up New DNS Sever


Hi,

I have got 3 dedicated servers with FQDN set from provider as following:

server1.privatedns.com (with IP address : MyIP01)
server2.privatedns.com (with IP address : MyIP02)
server3.privatedns.com (with IP address : MyIP03) and have Ensim pro installed

All servers run FC4

I have bought my new domain name from Microtech Limited registrar, it was let me say : myinfopage.info

I need to setup my own DNS, and I am so confused doing so, my key points are:

1- myinfopage.info should resolve to MyIP01, I will host this on Server1.
2- Primary DNS should be on Server3 and want to set it up using Ensim.
3- Secondary DNS may be server2.privatedns.com so i set it up manulally, or a free DNS service provider like http://secure.vcsweb.com/dns/ (which I tryed to create today).

====== What I did today is: ========

1- setting up DNS on Server3 using Ensim as a Primary DNS as following
a- Add new zone and name it: myinfopage.info
b- In zone manager: there was an already configured
(NS) record {server3.privatedns.com -> MyIP03},
so I did not change it.
c- With zone manager: I add new
Address record (A) {myinfopage.info -> MyIP01}
d- With zone manager: I add new
Address record (A) {www.myinfopage.info -> MyIP01}
e- With zone manager: I add new
NS record (NS) {ns1.vcsweb.com -> 2ndDnsIP} (I am going to create this next).
f- With DNS configuration tool: The primary
DNS was set to: server3.privatedns.com .I have added the
secondary DNS to: ns01.vcsweb.com (not a virtual DNS).
that was it with Ensim

2- I have register with http://secure.vcsweb.com/dns/ and used their service
as Secondary DNS (you can not choose both primary and
secondary with their service, only one of them) their DNS was:
Server: ns1.vcsweb.com
IP: 2ndDnsIP
so I set the master server setting to: server3.privatedns.com, IP: MyIP03
that was it

3- With the registrar, I have set
Primary Dns: server3.privatedns.com
IP Address: MyIP03

Secondary Dns: ns1.vcsweb.com
IP Address: 2ndDnsIP

======= End for today ========

The registrar send me an email saying:

"Invalid Domain Name or Nameserver"

What did I miss in my configuration ?

I am confused and can not simulate any how-to and apply it, what should I do to complete my set up?

Thanks

Last edited by dimsh; 11-06-2005 at 02:47 PM.
 
Old 11-06-2005, 03:57 PM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Nothing obvious.

Is server3.privatedns.com tcp port 53 open to the internet?
Is server3.privatedns.com correctly answering DNS requests for your domain?
Is ns1.vcsweb.com correctly answering DNS requests for your domain?

It is difficult to troubleshoot this kind of problem based on abstract information. If you want to pm me the details, I could take a look at your current DNS setup.
 
Old 11-07-2005, 01:54 AM   #3
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
yes server3.privatedns.com tcp port 53 is open and LISTENING

for the other 2 questions about answering I do not know how to check if the DNS is answering queries.

I can not use PM , if you have any other way , it is OK and I will be thank full , I am at hotmail with the same login name as here "dimsh".
 
Old 11-07-2005, 03:04 AM   #4
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
I have registered on www.xname.org , a free DNS provider,

this is the real zone i regiter there "spacetoon.info"

xname.org has generated the following zone file (I have replaces the IPs of target machines):

Code:
$TTL 86400 ; Default TTL
spacetoon.info.		IN	SOA	ns0.xname.org.	dimsh.hotmail.com. (
				2005110705	; serial
				10800	; Refresh period
				3600	; Retry interval
				604800	; Expire time
				10800	; Negative caching TTL
			)

$ORIGIN spacetoon.info.
			IN		NS		ns0.xname.org.
			IN		NS		ns1.xname.org.
db			IN		A		MyIP02
www			IN		A		MyIP01
spacetoon.info.			IN		A		MyIP01
on my linux box , I issued
Code:
host www.spacetoon.info ns0.xnamed.org
the result was nothing, like this:
Code:
Using domain server:
Name: ns0.xname.org
Address: 195.234.42.1#53
Aliases:

Using domain server:
Name: ns0.xname.org
Address: 195.234.42.1#53
Aliases:

Using domain server:
Name: ns0.xname.org
Address: 195.234.42.1#53
Aliases:
is that OK to query the DNS with "host" command ?

does it need time to apply my domain or zone information in the DNS ?

My registrar replay with the same email again after i use the Primary and Secondary DNS from xname.org
Code:
ns0.xname.org, IP address 195.234.42.1.
ns1.xname.org, IP address 193.23.158.13.
Registrar say : "Invalid Domain Name or Nameserver"


I am getting more confused , any ideas please

Last edited by dimsh; 11-07-2005 at 03:08 AM.
 
Old 11-07-2005, 03:30 AM   #5
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
ok , I just make some mistakes

i remove the line
Code:
 IN		NS		ns0.xname.org.
from xname.org zone file

now i can query DNS with

Code:
nslookup spacetoon.info ns0.xname.org
and
nslookup spacetoon.info ns1.xname.org
and i get MyIP01

also
Code:
nslookup www.spacetoon.info ns0.xname.org
and
nslookup www.spacetoon.info ns1.xname.org
and i get MyIP01

But for "db" entry
Code:
nslookup db.spacetoon.info ns0.xname.org
and
nslookup db.spacetoon.info ns1.xname.org
I get "** server can't find db.spacetoon.info: NXDOMAIN"
instead of MyIP02 as supposed.

Am I in the right way ?

I am now waiting for the registrar replay..
 
Old 11-07-2005, 03:44 AM   #6
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
Ok I think I understand what you are doing.

One question though:

Is the DNS server in the same domain as the one you registered?

Meaning
domain - privatedomain.info
dns server - server3.privatedomain.info

Just wanted to make sure. If this is so then your registrar needs to support glue records.

Reason being is that the server is in the domain that you are registering, it cannot resolve the hostname of your dns server. A glue record will tie an IP address to your DNS server so it doesn't have to resolve it.
 
Old 11-07-2005, 04:09 AM   #7
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks for this information


No, the new domain i bought and trying to register is "spacetoon.info" domain while my DNS is running on host "server3.privatedns.com"

server3: is a fake name i posted here
privatedns.com: is a real domain i got from servers provider.
 
Old 11-07-2005, 05:06 AM   #8
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
It is now working on my server3 as primary DNS
and xname.org as secondary dns.

Although I do not know how , but it is working

Thanks for all replys


one more thing, I have added the IPs of ns?.xname.org manually to allow-transfer directive like this:

Code:
allow-transfer { localhost; 193.218.105.149; 195.234.42.1; 193.23.158.13;
is there any way set it using Ensim pro ?

Last edited by dimsh; 11-07-2005 at 05:09 AM.
 
Old 11-07-2005, 05:07 AM   #9
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
probably just took time to replicate the NS info from your registrar. Cheers on it working.
 
  


Reply



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
setting up DNS Tamara Linux - Newbie 4 04-05-2005 08:14 AM
Setting up a Pop3 server so my Exchange sever can pull it kccobra Linux - Software 1 09-01-2004 10:13 AM
Setting UP DNS Ciccio Linux - Networking 1 12-11-2002 10:23 PM
Help with setting up DNS gomer1701ems Linux - Networking 1 06-02-2001 07:54 AM
setting up DNS deepak Linux - Networking 4 03-31-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 AM.

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