At 14:54 18/03/02 -0000, Ian Drake, IT, SE Dunbartonshire wrote:
<snip>
>I know there are other Dynamic DNS tools out there, but its more fun, and
>more felxable to write your own, I don't think the others can do everything
>I want i.e. edit the /etc/hosts file too.
>If only I'd know a few years ago that you could right a telnet-style server
>app with a bash script, I would have written a BASH RPG ;-)
>
(shudder...or should that be ${SHUDDER})
>Rgds,
>
>Ian
<snip>
That moves the data across but what about inserting it the zone files and
resetting named?
Have you though about how you're going to implement the security on this? I
suppose using your inetd server you could just use TCP-wrappers to
authenticate the remote system (make sure that you're PARANOID). I once
wrote a challenge based authentication system using bash, /dev/urandom and
md5sum (therefore anybody can...).
Using 'scp' to move the data across might be a neater idea, then a cron job
to rebuild the zone files (set to run at the same interval, or less than
the zone refresh time).
Dynamic DNS might be a lot easier. If I were to have an IP address for my
CM (which of course would only be required if it were to be used as a
server and thus in conflict with NTLs terms of use) I would use dynDNS.org.
HTH
Colin
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------