LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-29-2015, 10:04 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,458

Rep: Reputation: 111Reputation: 111
How do I host my own DNS?


I've had my website and email running on a VPS account for 8 years. I installed and configured everything myself, so I am not exactly a newbie. But I'm not a Jedi yet.

The current VPS provider provides DNS and I am moving to another provide that doesn't. I contacted them about it and received this reply:

Quote:
As far as DNS goes, you need to host that yourself, you can either install BIND DNS or TinyDNS on your server, or use a service such as EditDNS (https://www.editdns.net/) for you. You'll need to setup your domain A record to point to the IP of your server, VPSs do not come with DNS control panels because they are basic linux installs. You could always install a control panel such as ISPConfig, Webmin or cPanel to help you setup DNS on your server.
Is that English?

Just kidding. I understand the better part of it, but when I go to my registrar, it gives me the option to enter/change my DNS entries, and... it specifically says "no IP numbers."

Erm, that is quite confusing. So I cannot enter IP numbers, just the domain? But how will the registrar find (resolve) my domain and DNS server if the domain is supposed to be resolved by a private DNS server that... erm, resolves itself? Sounds like a snake eating up its own tail. I'm sure there is some less than adequate wording on either side, but I can't quite tell which one. Okay, I admit it, I don't know what I'm doing.

Any pointers?
 
Old 06-30-2015, 12:18 AM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Quote:
it specifically says "no IP numbers."
Maybe you stumbled on a field for a CNAME ? In that case an IP would not be allowed.

It is my understanding ( at least in the country where my domain names are registered ) that the registrar of your domain ( not the VPS host ) must register your IP, and it gets forwarded to the ccTLD of your country's root zone.

You may not need a BIND setup if all you have is one VPS. I wouldn't bother. You may want one internally, but for the external uses, if you just have one static IP everything points to one place anyways ! Let the registrar do it ! ( not bind, just the IP )

What is the suffix of your domain ? .com, .net ?

Last edited by ceyx; 06-30-2015 at 12:23 AM. Reason: clarity
 
1 members found this post helpful.
Old 06-30-2015, 02:29 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,041

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
I am not sure I get the question. DNS servers like google's or openDNS are easy enough to use for anyone in the web to use.

What I get the feeling is that you wish to host a dns server that would allow anyone on the planet to access your web site. Is that correct of do I have that all wrong?
 
Old 06-30-2015, 04:47 PM   #4
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,458

Original Poster
Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by jefro View Post
I am not sure I get the question. DNS servers like google's or openDNS are easy enough to use for anyone in the web to use.

What I get the feeling is that you wish to host a dns server that would allow anyone on the planet to access your web site. Is that correct of do I have that all wrong?
That's right. I need to have my domain resolved worldwide. Isn't it the whole point of DNS?

I added the IP address to namecheap's free DNS service and it redirects correctly to the new website, but the browser displays the IP number on the address bar, not the domain. I wonder if that's because I haven't configured Apache yet (it currently displays the famous "It works!" placeholder page).
 
Old 06-30-2015, 08:07 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,458

Original Poster
Rep: Reputation: 111Reputation: 111
OK, I finally got more time to further examine the registrar's haystack of a website and found out how to redirect everything properly without setting up my own DNS. This is solved. Thank you all.
 
Old 07-02-2015, 02:35 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,041

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Thanks for the update and solution.
 
  


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
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 01:33 AM
[SOLVED] Need New Public DNS Host tonyfreeman Linux - Networking 5 12-15-2010 09:04 AM
someone to host my DNS? sneakyimp Linux - Server 3 07-13-2010 12:19 PM
How to add new host to DNS? your_shadow03 Linux - Newbie 1 12-10-2009 05:55 AM
DNS public host marius_vl Linux - Networking 5 06-01-2006 07:35 AM

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

All times are GMT -5. The time now is 11:58 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