I have a computer running Arch Linux headless with SSH server and proftpd server. It's for a personal use. But it's a bit annoying to run the IP address every-time to connect to it.

Can I give it a domain name for absolutely free?

Can I use that over the internet?

  • That's sad to hear, but how do the providers host them? – S.Goswami Mar 5 at 13:44
  • How many places do you connect to it from? Consider an /etc/hosts entry... – Jeff Schaller Mar 5 at 13:46
  • @Vlastimil Have a look at FreeDNS – Rui F Ribeiro Mar 5 at 13:53
  • Since I am surprised this question might actually have a solution, +1. – LinuxSecurityFreak Mar 5 at 13:59

For having a DNS name on the Internet, if you do not mind of having a choice between a couple of silly domain names like whateveryourname.mooo.com, you can use the services of dynamic DNS FreeDNS for free.

Basically you create a free account, and link it to a hostname of your choice suffixed to a couple of fixed domain names for the free tier accounts. Cant remember from the top of my head if the free tier allowed to define up to 6 different hostnames with one account/IP address.

Then they give you a daemon/URL to be accessed with a key, and each time you call it from your VM, the DNS name will be updated with your (dynamic) public address.

As in (demo example):

 curl https://sync.afraid.org/u/CyTXMbtq5cPnLjEg5vKHTPDE/

See my related question, for dealing with updating the name if the DHCP service gives you a different IP address with the VM/machine is online: Better method for acting on IP address change from the ISP?

Having then a DNS name that it is linked to the current IP address, it is far more easier to connect to a machine/service, especially when the IP address changes.

Bonus points: DD-WRT/OpenWRT, and I think PfSense, support FreeDNS on their firmware/OS.

FreeDNS is not the only one dynamic DNS name service with free tiers, you also have got No-IP https://www.noip.com

  • Hello! Thank you for a great point I did not know about at all. Btw, I do have OpenWRT in my router. +1 – LinuxSecurityFreak Mar 5 at 13:58
  • @Vlastimil same here ;) – Rui F Ribeiro Mar 5 at 14:01
  • Hi! I wanted to ask websites like FreeDNS are also created from somewhere. Since it's the internet, I believe I can get a domain name for free? I mean FreeDNS can't be relied on other DNS providers, they has to create their site from scratch. How can I create a site solely on my own without relying on anybody? Is BIND helpful in such scenario? – S.Goswami Mar 6 at 9:39
  • I do not know of any free DNS provider allowing you your own BIND/DNS hosting on your side. Too much bureaucracy and hassle. You have to pay GoDaddy or some other DNS provider for that. I would advise not abusing comments for asking much more unrelated questions, you are welcome to open other questions, however I advise making an effort for them to be on topic. – Rui F Ribeiro Mar 6 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.