my apologies if this has been covered. I spent some time searching but have not found a solution.
We use firewall input chain to stop login attempts to router from non trusted IP's. The problem is we have a few sites that now use dynamic IP and DDNS to update ChangeIp.
What I am looking for is a script that resolves a list of DNS names and updates an address list (trusted IP list) with the IP's they resolve to. It would be nice to check the list for to see if address exists already.