You could use Amazon AWS' Route 53 DNS hosting and use the APIs to update
the domain name directly, that way you can update the root record to be an A
record pointing to the dynamic IP and instead of the dyndns script have a
route53 script which updates Amazon's nameservers.
http://aws.amazon.com/route53/
<
http://aws.amazon.com/route53/>It's not free though: $1/mo plus $0.50 for
every million requests. So probably less than £10/year for a very low
traffic server.
But to be perfectly honest, I'd take your solution, Adrian, and have a
friendly host redirect for example.com:
RewriteEngine On
RewriteRule .*
http://www.example.com%{REQUEST_URI} [R=301,L]
Cheers,
Benjie.