Koozali.org: home of the SME Server

DynDns Settings

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
DynDns Settings
« on: August 17, 2006, 09:38:54 AM »
I tried to setup my dyndns to update my ip but it doesn't update...

my username is mydomain.dyndns.org
my password is the same password i use to login to dyndns.org

I have verified all the above settings...

am I using the correct details?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: DynDns Settings
« Reply #1 on: August 17, 2006, 09:40:03 AM »
Quote from: "GlitchFreak"
I tried to setup my dyndns to update my ip but it doesn't update...


Bug reports should go to the bug tracker. Search first to see if someone has already reported the same problem.

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
DynDns Settings
« Reply #2 on: August 17, 2006, 09:46:15 AM »
The thing is that it's never worked since 7RC1. Its worked for others so it muct be something I'm doing wrong...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: DynDns Settings
« Reply #3 on: August 17, 2006, 12:04:33 PM »
GlitchFreak

> my username is mydomain.dyndns.org

Is that your dyndns account username, because that's what you should be using ?

It works for me OK using dialup.
...

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
DynDns Settings
« Reply #4 on: August 17, 2006, 12:45:48 PM »
Yes, that is the domain that i registered. but it's not the user name i log onto the site with.

Offline raem

  • *
  • 3,972
  • +4/-0
DynDns Settings
« Reply #5 on: August 17, 2006, 01:14:56 PM »
GlitchFreak

> Yes, that is the domain that i registered. but it's not the user name i log onto the site with.

You said above that the domain name was your username.

In the Configure this server screens, you should enter your dyndns account name & password that you use to login to the dyndns site.
...

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
DynDns Settings
« Reply #6 on: August 17, 2006, 01:31:15 PM »
Ok, but what if I have multiple dyndns domains for different servers. how will it differentiate between them and update the one I want?

Offline raem

  • *
  • 3,972
  • +4/-0
DynDns Settings
« Reply #7 on: August 18, 2006, 04:16:19 AM »
GlitchFreak

> Ok, but what if I have multiple dyndns domains for different servers.
> how will it differentiate between them and update the one I want?

Because the main domain name is configured on your server, and dyndns will keep track of that domain, and update external records with your changing dynamic IP, ONLY for that domain only .
...

Offline GlitchFreak

  • ****
  • 97
  • +0/-0
DynDns Settings
« Reply #8 on: August 28, 2006, 10:09:16 AM »
Ah, the problem is caused by my server name not the same as my dyndns name.

Now, can I add an extra domain as my dyndns name? I don't really want to change my machine name at this stage

Thanks for all the help!!

GF

Offline raem

  • *
  • 3,972
  • +4/-0
DynDns Settings
« Reply #9 on: August 28, 2006, 11:32:52 AM »
GlitchFreak

> Now, can I add an extra domain as my dyndns name? I don't really want to change my machine name at this stage

The servers main domain name must be the same as your dyndns domain name if you have a dynamic IP from your ISP. You will have to change your dyndns name to match your server, if  dyndns will allow that.

If you want to have multiple domain names hosted on your server and you are using a dynamic IP, then the dynamic dns updater built in to sme will not work for all those domains. You should use the ddclient contrib to manage the domains instead, search for it. There is a server manager panel to use to configure the domains.
...

jdmgr

DynDns Settings
« Reply #10 on: September 03, 2006, 04:53:14 AM »
hello!!

i have the same problem i look in message log and i find this
"Connection refused at /sbin/e-smith/dynamic-dns/dyndns line 56"

the i look in dyndns line 56 and "connect(S,$that) || die $!;
"

and all
($ip, $user, $pass, $domain) = @ARGV;

$AF_INET = 2;
$SOCK_STREAM = 1;

$SIG{'INT'} = 'dokill';

sub dokill {
   kill 9,$child if $child;
}

$sockaddr = "S n a4 x8";

(
   chop($ip = /sbin/ifconfig ppp0 | /bin/grep inet | /usr/bin/cut -f2 -d: | /usr/bin/cut -c1-15) &&
   $ip =~ s/\s+//g
) unless $ip;

$user = "username" unless $user;
$pass = "password" unless $pass;
$domain = "dyndns.com" unless $domain;

# Added by JMorrison so that this works properly for dynamic DNS or
# dynamic domain services:

if ($user ne 'postmaster')
{
    $domain = 'dyndns.com';
}

$info = pack("a20", $user) . pack("a20", $pass) . pack("a16", $ip) . pack("a64", $domain);

($name, $aliases, $proto) = getprotobyname('tcp');
($name, $aliases, $port) = getservbyname(50, 'tcp') unless $port =~ /^d+$/;
($name, $aliases, $type, $len, $thisaddr) = gethostbyname(chop($hostname = /bin/hostname));
($name, $aliases, $type, $len, $thataddr) = gethostbyname("dyndns.com");

$this = pack($sockaddr, $AF_INET, 0, $thisaddr);
$that = pack($sockaddr, $AF_INET, 50, $thataddr);

socket(S, $AF_INET, $SOCK_STREAM, $proto) || die $!;
bind(S, $this) || die $!;
connect(S,$that) || die $!;

select(S); $| = 1; select(STDOUT);

if ($child = fork) {
   print "Waiting for routing tables to update...\n";
   sleep 10;
   print S $info;
   sleep 3;
   do dokill();
}
else {
   while (<S>) {
      printf("%s", $_);
   }
   print;
}
"
any help?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DynDns Settings
« Reply #11 on: September 03, 2006, 07:50:08 AM »
Quote from: "RayMitchell"

If you want to have multiple domain names hosted on your server and you are using a dynamic IP, then the dynamic dns updater built in to sme will not work for all those domains. You should use the ddclient contrib to manage the domains instead,...


I disagree. You should configure all the additional domains to be CNAMES pointing to the primary domain, which will be updated automatically by the built-in updater. Updating multiple dyndns setups just adds unnecessary complexity.

smallstool

DynDns Settings
« Reply #12 on: October 22, 2006, 03:49:37 PM »
I have the same problem as well!

"/etc/cron.weekly/refresh-ddns:

Connection refused at /sbin/e-smith/dynamic-dns/dyndns line 56."

My username, password and domain at www.dyndns.com

are the same as on the admin screen - does my server name have to be the same as username at www.dyndns.com?

 :cry:

Offline raem

  • *
  • 3,972
  • +4/-0
DynDns Settings
« Reply #13 on: October 23, 2006, 11:24:58 AM »
smallstool

Your server name can be anything of your choice.
Your server's main domain name must match the dynamic host domain name you created at dyndns.
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DynDns Settings
« Reply #14 on: October 23, 2006, 02:07:31 PM »
Quote from: "RayMitchell"

Your server name can be anything of your choice.
Your server's main domain name must match the dynamic host domain name you created at dyndns.


Neither of those settings will have anything to do with "connection refused".

All non-functioning SME server software should be reported via the bug tracker.