Koozali.org: home of the SME Server

DYNDNS...how do you turn that option off?

keyman0202

DYNDNS...how do you turn that option off?
« 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???

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: DYNDNS...how do you turn that option off?
« Reply #1 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

keyman0202

DYNDNS...how do you turn that option off?
« Reply #2 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!

keyman0202

More info on problem
« Reply #3 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?

Offline jonic

  • *
  • 103
  • +1/-0
DYNDNS...how do you turn that option off?
« Reply #4 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.

keyman0202

DYNDNS...how do you turn that option off?
« Reply #5 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....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
DYNDNS...how do you turn that option off?
« Reply #6 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
Regards,
William

IF I give advise.. It's only if it was me....

keyman0202

DYNDNS...how do you turn that option off?
« Reply #7 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?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
DYNDNS...how do you turn that option off?
« Reply #8 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
Regards,
William

IF I give advise.. It's only if it was me....

keyman0202

DYNDNS...how do you turn that option off?
« Reply #9 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.