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.
I have registered a domain name, and rather than using the registrar's name servers, I would like to setup a simple name server of my own to resolve its self.
For example, I have domain.com and I would put in the external IP address of my network as the name server, and then forward the port which is used to lookup the IP address to my internal linux server. The server is currently a small web and mail server, but I would like to addon the capability to resolve its self so that I do not need to continue to contact them each time my external IP address has changed.
Any tips on how to do this, and what would be the most simple and quickest but secure way of doing this. I do not plan on resolving more than this one domain.
I don't see why it wouldn't work. My IP will not change unless I change the network card associated with the modem, or if my ISP changes something... on average, about once every three months. It would be easier to change the name server IP to my new IP in the registrar control panel, since I can manually go in and change that, and I am unable to change the forwarding IP address. I understand that each time the IP changes, that it would take a day or two for the new address to propegate... but this way I can do it, rather than having to contact the registrar, opening a ticket, etc...
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
Yes, you can use a dynamic IP address with a your domain name. I am using www.no-ip.com to point to my server. It allows you to specify an alternate port for those of you who have ISP's who block port 80. They even have a daemon that automatically updates No-ip's servers to the external IP of the modem. They have a bunch of redirecting services.
So since you already bought a domain name all you have to do is have it point to No-ip's servers (if you plan on using their service) and No-ip will point to your server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.