Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: italo on November 16, 2005, 11:14:26 PM
-
Hi,
A few days back I switched my dns service to dyndns.org hoping to use the built in dns function in SME Server 6 with my own domain. Unfortunately dyndns seems not to update.
I run the set up over at dyndns.org to update the dynamic IP the first time, but as soon as the IP changes (quite often) I lose the domain resolution. And the same is true after a few attempts.
Doing /sbin/e-smith/config show DynDNS
tells me that the status is online, still it doesn't resolve.
Doing ps aux
doesn't show a dyndns service running
What else can I try?
Italo
-
italo
Did you login as admin and re-run the Configure this server menu, and setup the dyndns details ?
Read the manual (see Documentation link here), I'm sure it is all there.
-
Hi Ray,
Thanks! Yes, I did that, and I also tried to look into some of the dyndns script (I am not at home now, and I don't remember which ones from the top of my head...getting old :-P )
I am not sure into which /var/log/ I should look into to see if there is anything strange there.
I doubt it, but can it have something to do with the fact the I want it to update my own domain zerouno.info instead that the usual mydomain.dyndns.com? The primary domain of the server is zerouno.info correctly, so it should update that anyway. And I did pay the money to dyndns.com to use my own domain, so that setup should be correct too. I also looked at the sourceforge.net forum about the original script just in case I could find some tips there, but I realized that the script in SME Server is customized, therefore hard to get help from there.
I believe the error is in the script that SME is using, but at the same time many others use it with no problem whatsoever. I am lost!
Any other ideas?
-
italo
> I want it to update my own domain zerouno.info
> instead that the usual mydomain.dyndns.com?
As I understand it, the feature in sme is for updating a dyndns domain.
Search the forums, there were some recent posts about using ddclient that may help.
-
If you are using the custom dyndns service you have to edit the dyndns script and change it to read service=custom
Mine works fine all the time
HTH
Tony
-
If you are using the custom dyndns service you have to edit the dyndns script and change it to read service=custom
e-smith-dynamicdns-dyndns.org-1.4.0-02, available from any e-smith/Mitel mirror, should do service=custom automatically if dyndns.org service is selected, but the primary domain name does not match *.dyndns.org.
-
Thanks for that Charlie I wasn't aware of it but SME works just fine as it is after editing for me.
I will check the version I am using.
Tony
-
Hi, finally home so that I can try
## /sbin/e-smith/config show DynDNS
DynDNS=service
Account=MyAccount
Password=MyPassword
Service=dyndns.org
status=enabled
So service stays dyndns.org instead of custom
should I change this script?
/sbin/e-smith/dynamic-dns/dyndns.org
-
You should check your version as per Charlies post if your version is prior to the one he lists you need to editr the script if you have the custom service.
Tony
-
Hi Tony,
I downloaded the file suggested by Charlie, and rubuilt the rpm from that, and then installed it with -Uvh over the old (I had 1.4.0-01 version).
/sbin/e-smith/config show DynDNS
still tells me Service=dyndns.org
Is there a script I am missing to modify?
-
Hi Tony,
Bear with me...I should probably ask you bluntly. When you say modify the dyndns script you mean this
/sbin/e-smith/dynamic-dns/dyndns ?
Then what part of the script do I need to modify to get the Service=custom? Change from &domain = "dyndns.com" to &domain = "mydomain"?
-
Charlie wrote:
> e-smith-dynamicdns-dyndns.org-1.4.0-02, available > from any e-smith/Mitel mirror
You can get it from here:
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/devel/repo/RPMS/
-
Hi Ray,
I rebuilt the rpm from the source rpm. So I got the same file as the one you link to. I am still stranded though!
I am sure I am missing a stupid detail (which I will laugh at later), but for the life of me I cannot figure out which.
-
Is the SME connected to a router or a modem??
if a router is making your connection the SME server won't know if your external IP address changed.
That may have been over looked :-)
cheers
-
No! the server is a dedicated gateway-server setup and is directly connencted.
-
Wait a second though! You say a modem. Well being a ADSL connection everything goes of course through the modem. Could that be the problem? I doubt it, but if you have any suggestions I am more than willing to try it!
-
let's try this:
the the console type "ifconfig" on the SME server, and you will get 2 IP addresses, one will be your internal one (192.168.x.x), but what's the other ??
is it also a 192.168.x.x or 10.x.x.x or 172.16.x.x or even 172.32.x.x ??
If it's something like that, then your SME server won't know when your external IP address changes, and there for won't update dyndns.
-
I am at work now so I cannot try now, but I did try that before and I do remember I got a 81.212.xx.xx IP address. Even tried /sbin/e-smith/config show ExternalIP and got infact the external IP.
-
Italo,
a very comfortable way to solve your problem is to use the very nice ddclient contrib from Vincent-Filali-Ansary. Here is the link:
http://smeserver.free.fr/filessme6/rpms/sme-ddclient-2.0-10.noarch.rpm
Rgds.
Dietmar
-
Dietmar, may I ask a few questions? I plan to use dyndns with my server, through a dialup connection, so some of my friends and I can play a MUD on one of my boxen. I want to port-foward the appropriate port to the correct box on my home network.
I downloaded the ddsclient you talked about, and wondered if it was at all difficult to install and use the utility with 6.0? Could you provide instructions as to how to invoke it?
Thank you for your help.
Jim Darrough
-
Dietmar, may I ask a few questions? I plan to use dyndns with my server, through a dialup connection, so some of my friends and I can play a MUD on one of my boxen. I want to port-foward the appropriate port to the correct box on my home network.
Jim,
ok, you have your sme-box as server and gateway and would like to have a domain with dyndns on a second box. And you have a dyndns-domain.
So, you should go to these steps:
1. Create an i-bay on your sme server and gateway with public access to the internet (no pw required).
2. Finding the register domains in the section configuration, add a new virtual domain based on your new i-bay, where the domainname must be a FQDN (full qualified domain name, f.e test.homelinux.net). The content should show your i-bay.
3. Depending on the appropriate port, you can forward it to the ip-address of your second box. Therefore you should use the register port-forwarding in the section security.
4. Last but not least you would like to have an automatic ip-update for your dyndns-domain at every dial-in. Now it's time to use the ddclient-option.
Clicking on the ddclient-contrib, you can see the current list of virtual domains with the new one in it. With "Create" you should configure your client (f.e dyndns.org dynamic addresses), user, password and mx-record (this should be the same name like your domain).
Rgds.
Dietmar
-
Thank you Dietmar and Ray for the tip on the ddclient. It was the easy way out, but at the same time I lost the opportunity to learn more about SME Server. I would have liked to know why it was not working for me as instead did for Tony.
Oh well, thank you! I am sure there are more opportunities around the corner!
/Italo