LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2009, 01:53 AM   #1
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Rep: Reputation: 30
How to Create Custom Name Server


Hi everyone. I bought a web hosting account(cPanel) and I want to create my own name server(ns1 and ns2.mydomain.com). So when I want to host addon domain, I can point them to my name server instead of hosting company name server. Do you know how?
 
Old 11-05-2009, 11:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,794

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
well you need to learn how to configure and administer the name server of your choice, e.g. bind.
 
Old 11-05-2009, 07:16 PM   #3
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
I think I don't need to learn about bind because I'm not using the server I installed. I just buy account from hostee. But I know about how to control domain over domain control panel. I understand about record type such as A, NS, CNAME. Can we use domain control panel to create name server ns1 and ns2?
 
Old 11-05-2009, 08:49 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows xp
Posts: 708

Rep: Reputation: 87
you have to ad name record like

ns1 A exmaple.com
ns2 A example.com
ns1.example.com NS x.x.x.x
ns2.example.com NS x.x.x.x

Somthing like that

Keep in mind if you do this and they take the server down for updates it will take time for your server to comeback online because it has to re propagate. Your host should have redundant DNS another words the have DNS hosted outside of your local server that way if the server goes down when the server comes back up it will be online almost right away and mail will still continue trying as long as their is dns servers available. If the server goes down and DNS is not available a mail server will give up and return the mail.(this is what happens when dns is hosted on the same server.) if you do decide to do this you only need 1 name server. Unless your register will only allow 2+ name servers to be put in their data base.
 
Old 11-05-2009, 09:18 PM   #5
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jmc1987
ns1.example.com NS x.x.x.x
ns2.example.com NS x.x.x.x
Something I misunderstand. As I know NS record can not point to IP address. If we point to hostee name server, when people whois our name server, they will see hostee name server.
 
Old 11-05-2009, 09:30 PM   #6
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows xp
Posts: 708

Rep: Reputation: 87
Quote:
Originally Posted by k_oudom View Post
Something I misunderstand. As I know NS record can not point to IP address. If we point to hostee name server, when people whois our name server, they will see hostee name server.
When you set your name servers up at your registar you have to do something like ns1, ns2.

These are subdomains of your domain.
ns1.exmaple.com
ns2.example.com.

Now in order to know where to point these records to they need to know the ip. Now your register is point your name servers to the server the DNS server needs to know what to do with them. So you have to give the name servers an alias record.
 
Old 11-05-2009, 09:35 PM   #7
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
Sorry, I'm not sure if you are explain me related to "NS record can not point to ip address". On the other hand, can do test it on co.cc domain
 
Old 11-05-2009, 09:47 PM   #8
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows xp
Posts: 708

Rep: Reputation: 87
Your right it should look like this. I had it backward

ns1 A x.x.x.x
ns2 A x.x.x.x
ns1.example.com NS example.com
ns2.example.com NS example.com
 
Old 11-06-2009, 01:54 PM   #9
wisdom
Member
 
Registered: Feb 2004
Distribution: Fedora 9
Posts: 226

Rep: Reputation: 31
check out http://www.dyndns.com/ they might be of use or be helpful as I use them for my home webservice
 
Old 11-08-2009, 08:15 PM   #10
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
Does any have domain which support creation of ns1 and ns2? Can you make screenshots for me to take a look?
 
Old 11-11-2009, 06:04 PM   #11
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows xp
Posts: 708

Rep: Reputation: 87
Quote:
Originally Posted by k_oudom View Post
Does any have domain which support creation of ns1 and ns2? Can you make screenshots for me to take a look?
You have to add the ns1 and ns2 at your Registar. then you add them to your server.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a custom MSI on a LAMP server for windows clients? jholovacs Linux - Software 1 06-17-2009 07:33 PM
How to custom create a service Scrag Linux - General 2 02-07-2006 07:50 PM
Create custom CD crimsontide Debian 1 07-21-2005 02:40 PM
how to create a custom installer? bonzai-panthera Linux From Scratch 0 01-19-2004 04:04 AM
create custom log pravash Linux - General 2 10-03-2003 01:48 AM


All times are GMT -5. The time now is 07:13 PM.

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
Open Source Consulting | Domain Registration