Koozali.org: home of the SME Server

dyndns.org updating

Christian Bakken

dyndns.org updating
« on: February 18, 2003, 02:17:01 PM »
Hi!

In this topic:

http://forums.contribs.org/index.php?topic=14590.msg55751#msg55751

I found this sentence:

"I have been using dyndns.org untill very recently, and this works very well, the built in client in e-smith does exactly what it should (with mior tweeking if your domain is not set to your DYNDNS details)"

Could anyone please tell me what this "minor tweeking" is?

I get the error:

"Feb 18 11:55:46 server dyndns.org: diatechnik.no does not exist on the dyndns.org system."

And I suspect this is exactly the same problem as mentioned in the aforementioned topic.

Anyone?

tia
Christian Bakken
Norway

Kelvin

Re: dyndns.org updating
« Reply #1 on: February 18, 2003, 03:17:20 PM »
> diatechnik.no

I take it you have a custom dns account rather than a dynamic account. If so, you should consider using the ddclient program which you can download from the dyndns.org site.

SME does not support custom dns out of the box.

Kelvin

Jon Blakely

Re: dyndns.org updating
« Reply #2 on: February 18, 2003, 03:22:40 PM »
Do you have diatechnik.no setup as a custom account on dyndns.org.
A quick check shows that the above domain is using fastname.no as its name servers so trying to update dyndns.org will not help.

Jon

Christian Bakken

Re: dyndns.org updating
« Reply #3 on: February 18, 2003, 04:11:04 PM »
Hi!

I have a dynamic address "diatechnik.dyndns.org" at dyndns. This is what I'm trying to update. But I also have a domain diatechnik.no that is hosted by fastname.no, and this is also set as my domain name in SMEserver to get the right sender-adress for mail sent from my network, because I use sendmail in my server for mail sending.

Do I have to use my ISP's mail servers for sending, or can I have both diatechnik.no and diatechnik.dyndns.org configured?

tia
Christian Bakken
Norway

Jim Little

Re: dyndns.org updating
« Reply #4 on: February 18, 2003, 05:25:52 PM »
Christian Bakken wrote:
>
> Hi!
>
> I have a dynamic address "diatechnik.dyndns.org" at dyndns.
> This is what I'm trying to update. But I also have a domain
> diatechnik.no that is hosted by fastname.no, and this is also
> set as my domain name in SMEserver to get the right
> sender-adress for mail sent from my network, because I use
> sendmail in my server for mail sending.
>
> Do I have to use my ISP's mail servers for sending, or can I
> have both diatechnik.no and diatechnik.dyndns.org configured?
>
> tia
> Christian Bakken
> Norway

You have two problems here.

1)  Your "main" domain diatechnik.no has its dns at fastname.no so you will need to do your dynamic updates there if you want your machine to receive e-mail for that domain, otherwise you need to keep using your ISP's e-mail.

2)  Your machine "doesn't know" about the diatechnik.dyndns.org domain, if you want that updated by the dyndns.org script you wil need to hack it as follows:

NOTE:  Do not attempt this unless you are comfortable using a text editor under unix etc.

a) Set your dyndns server to dyndns.org in the config and enter your username and password etc. (I assume you have already done this).
b)  Log in as root and "cd /sbin/e-smith/dynamic-dns"
c)  backup your dyndns.org script "cp -p dyndns.org dyndns.org.bak"
c)  edit the dyndns.org script, replace the $DOMAIN in the wget command with your domain name (ie. diatechnik.dyndns.org).
d)  save and exit the editor
e)  restart networking "service network restart"
f) Check the system log to see if your update succeeded

One other thing, make sure you have set diatechnik.dyndns.org as a virtual domain or your machine will not accept any traffic for it.

HTH,

Jim

PS.  Since you have your own domain name you may want to look at some other dynamic dns providers that allow you to use your own domain name or perhaps pay for the upgrade on dyndns.org and use the custom dns.  The modification to the script is quite straightforward for dyndns custom dns.

Kelvin

Re: dyndns.org updating
« Reply #5 on: February 18, 2003, 11:42:57 PM »
Hi Christian,

I actually still prefer using ddclient as opposed to hacking the SME templates but you can still follow Jim's tips on how to modify the template to support "diatechnik.dyndns.org".

>One other thing, make sure you have set diatechnik.dyndns.org as a virtual
>domain or your machine will not accept any traffic for it.

You actually do not need to set up a virtual domain in SME to recognise "diatechnik.dyndns.org"  if all you really want is mails for your actual domain "diatechnik.no". Just get your DNS provider to list "diatechnik.dyndns.org" (or mail.diatechnik.dyndns.org if you enabled wildcards in dyndns though it's not necessary) as the Primary MX for "diatechnik.no".

Kelvin