On Sat, Mar 30, 2002 at 10:51:19AM +0100, Henrik Nordstrom wrote: > Actually the tool is there already.. called "iptables-restore + cron". > > Simply set up your ruleset in a file using iptables-save syntax, but > using hostnames instead of IP addresses for the dynamic-DNS addresses. > Then periodically from cron reload the ruleset using iptables-restore. > This will cause IP tables to periodically refresh the IP addresses with > the frequency of your cron job.
This won't handle DNS lookups for names resolving to more than one A record, right? It would use the first A record found, as far as I know. best regards Patrick