THIS GUIDE IS NOT VALID ANYMORE SINCE dns4e.com IS NOT AVAILABLE ANYMORE
PLEASE REFER TO OUR OLD GUIDE HERE
In a previous post quite sometime back we explained how to configure a DynDNS service on your Raspberry pi or any similar unix system. This is no different, except for the super easy way of doing the similar thing.PLEASE REFER TO OUR OLD GUIDE HERE
Here we would be using the free DynDNS service of dns4e.com
Step. 1
Goto to https://dns4e.com/registration and sign up
Step. 2
Verify the registered email to activate the service
Step. 3
Add a zone in your account (e.g.: techjawab.dns4e.net)
You can add your own host (which you might have bought separately), in that case you will also need to update the name-servers after this step.
Step. 4
Setup a cron job to update your dynamic ip to dns4e
sudo crontab -e
In the editor add the following line on a new line to update your DNS every 10 minutes
*/10 * * * * curl 'https://api.dns4e.com/v7/<zone address
That's all, you should be able to reach out to your hosted server via the zone address you just configured after the DNS propagates.
Note: If your raspberry pi or unix box is behind a router or firewall then you might have to do port forwarding accordingly to enable the outside world to reach your server.
Dyn4e no longer works and is now filled with junk
ReplyDeleteThanks for pointing that out. The post has been updated.
Delete