Koozali.org: home of the SME Server

Dynamic DNS update during boot.

Ture

Dynamic DNS update during boot.
« on: January 21, 2003, 02:30:50 AM »
Hi

Anybody know when in the boot-process the server (E-Smith 5.5) contacts say dyndns.org to update the IP-record, and secondly if there is a way to control this ?

The reason I'm asking is that my cable-provider (StofaNet, Denmark) require your computer to log-on (telnet to a server and provide user/pass) before traffic is allowed to and from the internet. I have this set up and working with a SysV Init script (http://www.thrysoee.dk/stofanet/) that get's called as S11stofanet right after S10network in runlevel 7.

However I've had problems with the DNS-record not being updated after a reboot. So I suspect that it could be that the DynDNS client get's invoked by the S10network entry prior to the logon and therefore fails to contact the service. If so I'd like to call it with my own entry after S11stofanet.

I've tried to look through the network-script to see if I could find it, but with no luck. Hope somebody can help.

-Ture

Kelvin

Re: Dynamic DNS update during boot.
« Reply #1 on: January 21, 2003, 01:33:32 PM »
Hi Ture,

I don't use 5.5, but in 5.1.2, the script :-

/etc/e-smith/events/ip-change/S85update-dns

calls the relevant dynamic dns update client. Probably add this to the end of your login script ?

Kelvin