Javier Marcon Servilink Web Hosting wrote:
> I thought that iptables resolved the dns and cached the result, so when 
> cahe expires it would update the ip in next dns query, but I was wrong. 
> To handle this I should make a cron script that  runs periodically 
> (every 30 secconds for example) making a dns query and updating the 
> host's ip on vuurmuur with:
> 
> vuurmuur_script --modify --host xxx.world.inet --variable IPADDRESS --set 
> $NEW_IP
> vuurmuur_script --reload

Keep in mind that some domain names resolve to multiple ipaddresses.
This requires some extra care in a solution like this.

Cheers,
Victor

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Vuurmuur-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vuurmuur-users

Reply via email to