> You know, I really have to write that article. People keep asking me about > it. But basically you got it, yes. In my ppp.linkup I have: > > MYADDR: > # update the DNS with our new address > bg /usr/local/etc/update-dns MYADDR > > # start MSS correction daemon > ! /usr/local/etc/tcpmssd.rc start INTERFACE > > "update-dns" above is a Perl script that updates the master DNS server for > the zone. > http://renaud.waldura.com/sw/update-dns.pl > > Note that the master DNS server has to be configured to allow dynamic > updates for that zone, it's not magic (BTW I run bind 8, I don't know about > djb-dns). > > Eg. in my case I want my DSL gateway to be named "ecoli.biohz.net". The > master server for "biohz.net" is "ebola.biohz.net" and it is configured to > allow dynamic updates to the zone "dyn.biohz.net". When ppp.linkup runs, it > updates the record "ecoli.dyn.biohz.net" with the new IP address for the > machine. And of course I set a low TTL (5 mins) on that record to propagate > changes quickly. ("ecoli.biohz.net" is merely a CNAME to > "ecoli.dyn.biohz.net" -- it's cleaner to keep a separate dynamic zone). > > You now have all the pieces; sorry for the lightning fast explanation, I'm > gonna try to spend time writing that damn article. :) >