AccessFilter by Domain

I know how to use an AccessFilter by IP, but what’s the recommended way if I only know the Domain Name from the service accessing an eg. API controller.
For example in an ingress network where there’s an endpoint which is accessed from

How can I specify allowedIPs =

Use gethostbyname() to obtain IP of and use result for allowedIPs?

1 Like