I have n number of hosts with below pattern.
What regex to use to whitelist for above hosts so that only hostname01.corp.domain.com to hostname100.corp.domain.com are included, but excluding hostname101.corp.domain.com and others?
I prefer to keep the whitelist in serverclass.conf explicit - helps in forwarder's administration ....
This should work
You can verify it at regex101.com