I need a script (or other way) of updating an address list with Google’s IP ranges.
They publish the ranges in a DNS test field and it looks like this…
I would create a bash script to output the results of dig to a file, and upload the file to the router via FTP. For the example, the file name is dnslist.txt
Then, run a script on the router to extract the IP addresses and add them to the address list. This script removes all previous entries with the same comment, and adds the new ones.