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.