Search This Blog

Friday, 22 January 2016

Godaddy Dynamic DNS configuration.

I found some of very good article in internet for configuring dynamic IP configuration with Godaddy.

Below is the steps I used to achieve the same.

1- Install required python modules.

  #yum install install python python-pip
  #pip install pif
  #pip install pygodaddy
  #pip install pyopenssl ndg-httpsclient pyasn1

2. replace and  with below files as the authentication changes in godaddy has been fixed in new files.

 Replace /usr/lib/python2.7/site-packages/pygodaddy/  with
Replace /usr/lib/python2.7/site-packages/pygodaddy/ with

3. Download below Symple python script to update a host A record in a GoDaddy hosted DNS zone

#cd godaddy_dynamic_dns-master
Create below files to store current IP and logs.

#touch  current_ip 
#touch  godaddy.log

4. Edit configuration files


Replace below line with your hostname in godaddy. (here i put blog). on line number 53.

 if dns_record.hostname == 'blog': 

5. now you can run the like below.

# python
ip is the same.. not doing anything


No comments:

Post a Comment