Announcement

Collapse
No announcement yet.

Looking for Dynamic IP solution for hosting

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Looking for Dynamic IP solution for hosting

    Does anyone have detailed instructions on how to set up noip or another similar DNS service for a network running a dynamic IP?

  • #2
    Hi Nate4215
    Welcome to IW forums
    Interworx does not have DDNS
    Are you trying to run interworx on a broadband connection without a static IP
    If so, your router should have DDNS settings
    I am sorry if I have not understood your question fully
    Many thanks
    John

    Comment


    • #3
      Just stumbled over this (a bit late, I know) and thought I'd share my solution to this.

      We have created a php-file like this on one of our accounts:

      Code:
      <?php
      
      header('Content-Type: text/plain');
      
      $key = array( 'email'    => 'your@mail.com',
                    'password' => 'yourpassword' );
      
      $api_controller = '/nodeworx/dns/record';
      
      $action = 'editA';
      
      $input = array( 'record_id'         => 666,
                      'ttl'              => 300,
                      'ipaddress'        => $_SERVER['REMOTE_ADDR'] );
      
      $params = array( 'apikey'    => $key,
                       'ctrl_name' => $api_controller,
                       'action'    => $action,
                       'input'     => $input );
      
      $client = new SoapClient( 'https://yourdomain.com:2443/soap?wsdl' );
      $result = $client->route( $key, $api_controller, $action, $input );
      print_r($result);
      
      $api_controller = '/nodeworx/dns';
      $action = 'export';
      $params = array();
      $result = $client->route( $key, $api_controller, $action, $input );
      print_r($result);
      
      ?>
      Give the php-file a long, secret name, so that it can't be guessed. And then simply call that file on IP-change from your network (naturaly only over https)

      The record_id musst be the record you want to change, the TTL should be low so that IP changes are reflected in your DNS entries quickly.

      This works for us very well. I guess this could be improved regarding security and so on, so I am open for any ideas.

      Cheers

      Michael

      Comment

      Working...
      X