On Mon, Feb 19, 2007 at 05:38:20AM -0800, Faried Nawaz wrote:
How are people doing dynamic dns (like dyndns.org)?
We're using ssh with keys and forced commands for that. Simple clients
just "login" and their source address is used to update the record (this
even works behind NAT routers because the address is determined on the
server). For more complex setups we're transferring a whole "zone" file
(by piping it into ssh) with syntax+security checks (like allowed
domain) on the server. Because of tinydns this is quite easy to do.
My own server doesn't support DNS updates via HTTP (like dyndns.org et
al. do it), but some others do because it's the only thing most NAT
routers support (AFAIK not even HTTP_S_). It's basically the same as the
simple ssh script, just as CGI.
One thing to remember is to use lock files (setlock from daemontools).
CU Sascha
--
http://sascha.silbe.org/
pgpgNjpmb1n8t.pgp
Description: PGP signature
|