Hello everyone
I was wondering if there is a script for resolving and adding all the IPs of the websites which are on a link (example: https://test.com/sitelist.txt) to a address-list and add the host name as comment to the first IP of each website.
Example: Link/txt file is containing the following:
google.com
yahoo.com
android.com
apple.com
then the script resolve those addresses to find their IPs, then it will add them as following to the address-list:
add address=123.123.123.123 comment=google.com list=scan
add address=123.123.123.124 list=scan
add address=123.123.123.125 list=scan
add address=78.16.85.1 comment=yahoo.com list=scan
add address=124.15.21.110 comment=android.com list=scan
add address=124.15.21.120 list=scan
add address=141.165.84.125 comment=apple.com list=scan