Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Howard on July 30, 2003, 04:31:53 PM
-
Hi,
Can anyone recommend a free dynamic dns service that I can use which will allow me to host my own mail server. I have a domain name and currently use DNS Park but I don't think there is a client compatible with esmith that will allow me to update my IP address.
Thanks
Howard
-
I use the service at www.dyndns.org which works well and I think it is updatable by SME. I use it myself but use the update client "ddclient" and I just manually modified it's .conf file and run it at startup by inserting the startup command in /etc/rc.d/rc.local
I have multiple domains pointed to my SME and they are all updated by ddclient at the same time. I am not sure if the SME updater can handle multiple domains.
-
Thanks for you reply Bill... I'm very new to SME (not installed it yet).. Is there a guide somewhere on downloading and installing the ddclient on SME Server?
Thanks
Howard
-
There is no guide other than the INSTALL doc thats part of the archive file.
Install the ddclient program per directions.
Change ddclient permissions to 755 to make it executable.
Edit the config file for your account info.
Start it with "ddclient start"
Add "/usr/sbin/ddclient start" to your /etc/rc.d/rc.local file for automatic starting.
Done
-
Thanks..
Sorry to sound stupid, but can I browse the net with SME and donwnload the client, or do I need to use another machine and then copy it over?
Thanks
Howard
-
Your best bet is to set up SSH console access to your machine (PuTTY is a common choice), then use wget to retrieve your file from the Internet into the directory of your choice.
-
Thanks Michael, Looks like I have some research to do..
-
One thing you can be sure of ... THAT requirement will never be fully satisfied.
-
Bill,
Are you suggesting SME has a built in function to use a service like DynDNS? I read your post a few times and this is the impression I get. I have a domain I would like to update dynamically, but for some reason, my firmware in my firewall/router does not seem to do it consistantly. Therefore, your recommended solution would be???
Wes
-
Yes, it does have this built in function. To access it just re-run the server setup.
It supports the free version of the dyndns.org service and the custom one.
-
Bill or whomever can answer...
Would you mind indicating what entry you made into the rc.local file?
I installed ddclient via rpm and it functions well after a few changes in the conf file but the service does not start at startup.
I simply type service ddclient start and away it goes, but I would like to automate it.
It's not clear to me how to proceed.
Thanks in advance,
-
Simple way to start the service. Add one line to your rc.local file.
"/path to your program/ddclient start"
-
The rc.local file is not the place to do it. That file might be overwritten next time you do an upgrade/update.
The correct way is to create a symlink in /etc/e-smith/events/local. So in your case:
ln -s /usr/sbin/ddclient /etc/e-smith/events/local
Michiel
-
>The correct way is to create a symlink in /etc/e-smith/events/local. So in your >case:
>
>ln -s /usr/sbin/ddclient /etc/e-smith/events/local
I do not think that will work as the command "start" is required to start it as a service. That will start it in run once mode.
I would think that a fragment in the custom-templates tree would be a better place to link in the changes and is how I did mine.
Also, there is nothing wrong with changing rc.local directly as long as you understand that you may have to edit the file again at some point in time if you do an upgrade. (I have not seen an upgrade to 5.6 in the 6 months I have been testing it.
-
> I do not think that will work as the command "start" is
> required to start it as a service. That will start it in run
> once mode.
That's Mitel's recommended way of doing things: http://forums.contribs.org/index.php?topic=5333.msg18827#msg18827
The following line in your rc.local file gives your "start"command:
[ -d /etc/e-smith/events/local ] && /sbin/e-smith/signal-event local
But by all means, put it anywhere you like if that suits you better.
-
Now my last pertinent question to this thread would be how do I enable https? I have it working beautifully in http, but the login page does not come up in https. Any thoughts?
Wes