Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: keyman0202 on September 25, 2006, 04:18:16 PM

Title: DYNDNS...how do you turn that option off?
Post by: keyman0202 on September 25, 2006, 04:18:16 PM
Hi,
I'm new to SME.  I noticed that the initial installer on the server that I am now supported turned on DYNDNS.  There is no associated dyndns.org account for the parameters in the configuration, so an error has been generated every 5 minutes since they installed the server back in April.

I've deleted the admin mail, but I can't seem to find an option to turn dyndns off.

Help???
Title: Re: DYNDNS...how do you turn that option off?
Post by: cactus on September 25, 2006, 04:37:46 PM
Quote from: "keyman0202"
Hi,
I'm new to SME.  I noticed that the initial installer on the server that I am now supported turned on DYNDNS.  There is no associated dyndns.org account for the parameters in the configuration, so an error has been generated every 5 minutes since they installed the server back in April.

I've deleted the admin mail, but I can't seem to find an option to turn dyndns off.

Help???
Login as as asmin user by terminal or SSH access. You will be presented a menu. Choose reconfigure server and click next until you see what kind of IP setting you can choose for the external NIC. Choose one of the options that fits you. Finish the process and reboot your server.
Title: DYNDNS...how do you turn that option off?
Post by: keyman0202 on September 25, 2006, 05:04:49 PM
cactus,

Thanks for the input.  However, the server is set to "Server-only" mode, so the option to configure the external NIC is not displayed.  I understand this option is available when you select server and gateway.  

Perhaps he has a custom script for dyndns?  If so, how can I find that customization?

Thanks again for your help!
Title: More info on problem
Post by: keyman0202 on September 25, 2006, 05:14:34 PM
I checked his dyndns.org account and I did indeed find an entry for this server.  I am still getting this error every 5 minutes.

ipcheck.py: Previous nohost encountered for host: prstore.dyndns.org
ipcheck.py: You may be trying -s for a dynamic host or vice versa.
ipcheck.py: Erase the ipcheck.err if file this host is now created.  

Your thoughts?
Title: DYNDNS...how do you turn that option off?
Post by: jonic on September 25, 2006, 07:48:33 PM
You could select the server and gateway mode, just to get to the options about dynamic dns, and then revert to server only mode.
Title: DYNDNS...how do you turn that option off?
Post by: keyman0202 on September 26, 2006, 03:22:39 PM
Thanks...that's what I thought about doing.

Will I need to reboot or just save that option..then switch back to server only before I reboot?  

If I have to reboot first, I may need to make a trip to the office....
Title: DYNDNS...how do you turn that option off?
Post by: william_syd on September 26, 2006, 04:11:33 PM
Quote from: "keyman0202"
Thanks...that's what I thought about doing.

Will I need to reboot or just save that option..then switch back to server only before I reboot?  

If I have to reboot first, I may need to make a trip to the office....


Maybe

Code: [Select]
db configuration setprop DynDNS status disabled


Not sure about after that

Code: [Select]
signal-event console-save
signal-event post-upgrade
signal-event reboot
Title: DYNDNS...how do you turn that option off?
Post by: keyman0202 on September 26, 2006, 06:33:37 PM
Thanks William.  I am now about to pull out my hair!  I did what you stated and checked my DB properties....here's what it shows....I removed the account and password.  

[root@prserver dyndns]# db configuration show DynDNS
DynDNS=service
     Account=XXXX
    Password=YYYY
    Service=dyndns.org
    status=disabled

So, you would think all is well, but I am still getting this message sent to the admin e-mail account....

ipcheck.py: prstore.dyndns.org nohost -hostname not found

Help!  I am feeling stupid.  What am I missing here?
Title: DYNDNS...how do you turn that option off?
Post by: william_syd on September 27, 2006, 01:31:35 AM
Start Edit:

Code: [Select]
signal-event ip-change

Also the scripts that do the work are in..

Code: [Select]
/sbin/e-smith/dynamic-dns

End Edit:

Below this line is just random thoughts...
I'm running in Server-Only mode but looking at where DynDNS is used I tried
Code: [Select]
signal-event update-dns
but it gives me an error so I could be totally wrong.

As yours may of been in Server-Gateway mode at some stage give it a go.

Also have a look in
Code: [Select]
/etc/e-smith/events/ip-change

Hmm..

Code: [Select]
signal-event dns-update
Title: DYNDNS...how do you turn that option off?
Post by: keyman0202 on September 27, 2006, 08:52:02 PM
I actually found a cron job that hardcoded the dyndns update.  I'm not sure why the prior installer set it up that way, but once removed, my issue went away.

Thanks for all your input.