How to deny / allow a client based on an IP dynamically looked up from a DNS name?

Hi - just evaluating traefik and I am trying to figure out how to allow a client if its IP address is the same as the IP address for a domain name. This is to allow connections from a site that has a broadband connection and the IP address is maintained using dynamic dns.

Both the ClientIP route rule and the IPWhitelist middleware look like they only support CIDR ranges etc.

Thanks in advance

You probably need to build your own Traefik plugin in go-lang or create your own ForwardAuth service (in any language), which response with status 200 if okay.

Thanks - creating a custom plugin probably a bit too time consuming for me and already have a ForwardAuth hooked up (Authelia). Thanks.