Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I was planning of running my own DNS Server after which I was thinking of hosting my website on it. But after talking to the customer care people I got to know that the DNS Server will be in their Data center.
I wanted to know, is is possible to run a DNA server on my home pc, wherein I can run my website on it?
If yes, How should I got about it?
No real need to run a DNS server in order to run a webserver. The registrar that register's a domain name will list their DNS as the primary. Once you have the name registered you can then use their control panel or ask them to point to your ip address.
Does that mean..I will not be able to use a my DNS as a primary nameserver. I want that when some one types myname.com, the dns entry for that should point to my machine IP, rather than to a domain on the registrar's DNS
There is no reason why you should not run your own DNS. However it is quite complex and for what you want it for, unnecessary. When a registrar registers a domain they have to supply an ip address and a DNS for the name. All that happens is you change or get the registrar to change the ip address. The higher level DNS servers will quickly pickup the new ip address and name resolution will resolve to your ip address. Leave the registrar to look after the DNS.
Even if you run a DNS server, as I understand things, it won't be recognised by the wider web as a valid server anyway.
If you don't want the registrar to do the DNS, look at something like Zoneedit (www.zoneedit.com). THey provide a free nameserver service for up to (I think) 5 sites. I use this myself and haven't had any problems, and I'm sure there are alternatives as well
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.