Results 1 to 2 of 2

Thread: A script to update domain registry whenever my IP changes

  1. #1
    Join Date
    Dec 2008
    Location
    Death Star IV
    Beans
    492
    Distro
    Kubuntu

    A script to update domain registry whenever my IP changes

    I'm just wondering if it would be possible to create a script that polls ifconfig for my ip address say, every 10 minutes, and if it changes update my co.cc registry. I run a small website on my dynamic IP server (can't afford a fixed IP) and this is a slight annoyance and contributes to a fair bit of downtime. I know a couple of scripting languages, but not deeply enough to know how to make a script that works with web interfaces on a machine with no gui installed.
    I had to do it.

  2. #2
    Join Date
    Jul 2006
    Location
    USA
    Beans
    328
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: A script to update domain registry whenever my IP changes

    you can check out how ddclient was made (although it was written in perl)

    http://sourceforge.net/apps/trac/ddclient

    maybe dig through the source code and get some idea

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •