Creating nameserver to resolve purchased domain to my computer
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Creating nameserver to resolve purchased domain to my computer
I recently bought my own domain and I want to continue hosting from my own computer. I used to use dyndns.org as a dynamic dns address, but now I want my .com address to resolve to my computer. Note: I have dynamic ip addresses, but I usually keep the address for months at a time. I checked my router and found the address of both primary and secondary dns servers, but I am not sure what to do from there, as the nameservers I must have on my registered domain account cannot be in ip form. I understand I must do something in /etc/resolv.conf. Any suggestions? Thanks.
Thanks for replying...but it seems as if I must purchase a domain name and register it with a few nameservers before I use the domain service...I already have a domain name. Or, do I not understand something?
DNS hosting needs a STATIC dns address for the nameservers.
Just keeping a dynamic IP address for "weeks at a time" isn't enough. If you can't arrange to get a static ip address with your provider use the services provided by the company you registered dns with. Without a static ip address, each time your pc loads a new IP address you'll have at least a 48 hour delay on updating that address across *most* of the internet.
That being said, bind is a HUGE topic for discussion. DNS hosting and setup is not a trivial task as there are a few things to consider. Go read up on BIND or NAMED(they're the same thing) and come back with specific questions for help.
Just an observation the nameservers you got from your router have nothing to do with your domain name
These are provided by your ISP so that your web browser can resolve addresses when you are surfing the net
If you want to find out which nameservers are currently responsible for your domain, on the command line enter
Code:
dig yourdomain.com
Pete
I know the current nameservers, but will this eventually lead me into having to setup bind in one way or another? A Static ip address is not an option for me, as I don't have the $ for one, and my site isn't so important that it would be a disaster to have it off for 2 days. And "weeks" at a time should be "months" at a time, although it doesn't seem like that matters. So there is no quick answer to this? If not, I am all for doing the learning to get somethng working up here...
Yup! Once you're set up on afraid.org, just point your registrar to it, and you should be off to the races. Well, it'll likely take hours or days before it filters out through the net.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.