I look around of the forms and did not see anything for sure how to do this.
How do I dynamic add IP address of domain names to the IP address list.
The domain has lots of IP addresses you never connect to the same one twice in a row.
Here what I got so far.
It does not matter if it’s a mangle rule, filter rule or Raw is just gets the first IP Address it can find to that domain.
add action=add-src-to-address-list address-list=bing_test_list address-list-timeout=5m chain=prerouting comment=“Bing test” disabled=yes src-address=bing.com
it changed to
add action=add-src-to-address-list address-list=bing_test_list address-list-timeout=5m chain=prerouting comment=“Bing test” disabled=yes src-address=xxx.xxx.xxx.xxx
It changes the src-address to the IP address and does not keep the domain name so the other IP addresses that the domain uses never gets added to the Address list.
bing.com and youtube.com are good examples they have many IP Addresses.
thank you in advance.