GT

Update Dynamic DNS via Crontab Script

I recently improved the method by moving the task onto the router. Details at the end of this article.

Ok, we have registered a domain name, and we have purchased a VPS to host our server. But why not assigning a subdomain to the computer at home?

What’s dynamic DNS?

Internet providers change the home IP address from to time to time, therefore it won’t work if we set an A Record for the home computer. Fortunately most DNS manager on your registrar support dynamic DNS record, which can be updated easily by the software they provide or by their API. Apparently the APIs are preferable to me.

Update dynamic DNS record by Namecheap.com’s API

I recently registered this domain name on namecheap.com, who provides a fairly easy API to update the dynamic DNS.

Read More »