LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-21-2004, 07:07 AM   #1
Ivanfernandes
LQ Newbie
 
Registered: Jan 2004
Distribution: Suse 9.0
Posts: 4

Rep: Reputation: 0
DNS Setting for the Registrar


Hi,

I have just registered my web site xxxx.com with a registrar.

I have set up my machine as mail.xxxx.com with DNS for name-ip lookup

My registrar is asking for the name-servers so that it can resolve the xxxx.com to ip address.

I have a constant connection to the net with a static IP.
my isp provider is not my registrar.

Can anyone help as to what names and ip addresses i give to the registrar and they are asking for 2 name-servers so, which would be the second NS.
 
Old 01-21-2004, 07:40 AM   #2
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
A poor sort of registrar if they don't give you the option to use their name servers.

Normally, you would use the name servers of your registrar. It seems that you need to find a hosting service for your zone file, or at least for the secondary one.

I'd advise against hosting your own name servers as there's a very good chance that your ISP (to whom your IP address belongs) will not set up a reverse lookup for that address. Not good for a name server!

If you're determined to go ahead, then the primary DNS server should be your own IP, the secondary should be the IP address of whoever is doing the secondary for you (you need to get someone to do this).

Ensure that you get the zone file correct and allow the secondary to do zone transfers so it will reflect any changes you make.

I used to work as a hostmaster, and it's very easy to foul things up!

Good luck.

Carl.
 
Old 01-21-2004, 08:39 AM   #3
Ivanfernandes
LQ Newbie
 
Registered: Jan 2004
Distribution: Suse 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
A poor sort of registrar if they don't give you the option to use their name servers.
--well they do have the option by pay to pay $$

Normally, you would use the name servers of your registrar. It seems that you need to find a hosting service for your zone file, or at least for the secondary one.

--Found one (http://www.granitecanyon.com/)

I'd advise against hosting your own name servers as there's a very good chance that your ISP (to whom your IP address belongs) will not set up a reverse lookup for that address. Not good for a name server!

--Please could you explain...

If you're determined to go ahead, then the primary DNS server should be your own IP, the secondary should be the IP address of whoever is doing the secondary for you (you need to get someone to do this).
--Ok

Ensure that you get the zone file correct and allow the secondary to do zone transfers so it will reflect any changes you make.

--is it not that the zone files for both the name-servers be on the same lines with a few address changes


I used to work as a hostmaster, and it's very easy to foul things up!

Good luck.
--Thanks again for you speedy answer it helped me on my way... :-)

Carl.
 
Old 01-21-2004, 09:22 AM   #4
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
The 2 bits you ask:

(I've used 192.168.0.0 as an example subnet)

Your DNS server will be performing forward lookups for your domain.
e.g.
www.yourdomain.com. IN A 192.168.0.10
mail.yourdomain.com. IN A 192.168.0.11
ns0.yourdomain.com. IN A 192.168.0.12

however the reverse lookups for these hosts would be found in the zone file: 0.168.192.IN-ADDR.ARPA which you don't control.

Your ISP will be controlling the above zone file for your IP address. Most ISPs won't modify this for your benefit. The chances are that this would be a name for your connection, e.g. 10.0.168.192-dial-modem.yourisp.com

The forward lookup for ns0.yourdomain.com would resolve to 192.168.0.12 in the above example. However the reverse lookup for the IP would NOT match.

You're not supposed to do this! In reality I've never seen any problems caused by it, but..............


Your zone file should be the same in the primary and secondary nameservers. The secondary obtains the zone information from the primary. Any changes to the primary should be reflected in the secondary in accordance with the "Refresh" time set in the zone file.

Your zone file should contain the names of both DNS servers, e.g.

yourdomain.com. IN NS ns0.yourdomain.com.
yourdomain.com. IN NS nameserver.grancan.com ; example only

When passing this information to your registrar, you would specify the fully qualified names and IP addresses of the primary and secondary name servers.

The hostmaster of the secondary name server would ensure that it was secondary!

Hope that helps,

Carl.


Last edited by carlmarshall; 01-21-2004 at 09:25 AM.
 
  


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
setting up DNS Tamara Linux - Newbie 4 04-05-2005 08:14 AM
Setting up DNS UnknownFear Linux - Networking 3 04-10-2004 01:39 AM
Need Help setting up DNS???!!! richhoward Linux - General 13 06-25-2003 04:37 PM
Setting up DNS Mneumonic Linux - Software 1 03-14-2003 04:15 PM
setting up DNS deepak Linux - Networking 4 03-31-2001 12:06 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration