0

I have a few servers on which I run nameserver trough webmin/bind. Now I have a computer at home that I want to access from anywhere in the world, the only problem is, my IP adress changes often.

Ideally I want to create a name, for example, myhomepc.mydomain.com, which always points to my IP adress.

This means that the A record of this domain has to change according to my IP adress.

Is this possible? I am doing my work trough webmin.

1

3 Answers 3

2

The absolutely easiest solution is to use one of the free dynamic DNS services like dyndns.com or no-ip.com (Google for more options).

If you need to have your home pc on your "mydomain.com", I suggest using a CNAME pointing to the dyndns fqdn.

1
  • +1 This could be an option. If there is no other way im gonna take the easy road. Thnx! Mar 15, 2011 at 14:53
2

If you run your own bind server, have a look at proper Dynamic DNS rather than options like dyndns and no-ip.com. This uses features available as standard in Bind to update the zone directly. It's a bit more involved than setting up a CNAME for one of the above services, but at least you have full control.

There's a webmin module that will seemingly handle is here, although I haven't used it, so don't know how good it is.

For details on how to set it up manually, you can have a look here.

2
  • +1 for suggesting to do it myself. Are you sure the webmin module is to solve this problem. I think the module is for a webmin system that is running on an dynamic IP. My webmin server has a static IP, the pc that I want to point to from within webmin has a dynamic IP. Mar 15, 2011 at 14:52
  • As I said, I haven't used the webmin module, but it does mention dynamic zones. I tend to prefer to get down and dirty and figure out how stuff works, so I did it the manual way. The most difficult part was writing the script to do the nsupdate. Mar 15, 2011 at 15:05
1

If you already have a host somewhere for yourdomain.com, they usually provide a dynamic dns feature in the toolset. I know bluehost does (because i actually do what you are trying to do). It works great, and if you are behind a router, just a simple NAT with a port forwarding rule in your router and you are all set with yourmachine.yourdomain.com.

I know you said your IP changes a lot, but if your machine is on all the time, it shouldn't change, but i don't know that much information about your setup.

2
  • Does bluehost still offer this feature? I have my own domain registered with them but I'm not able to find any Dynamic DNS feature. Where can i find it?
    – Jack Twain
    Jun 30, 2014 at 17:33
  • adding an answer that i was TOLD. was "bluehost does not have that functionality." though reading split71 response I'm sure they do but just don't know how to help me.
    – FormatX
    Nov 15, 2014 at 16:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .