Thanks Alan. I have been working on this and think I've come up with a solution, at least for now. I've modified both the authorize code and the lookup script. The way it now works is as follows: When a new auth request comes in and we perform the DNS lookup, instead of creating the home server with the realm name, I am creating it with the returned hostname. I then write the realm name and the associated home server to a cache file. When another request arrives from an unknown realm, if the returned DNS hostname matches an existing server hostname/ip, we map that realm to the previous home server. We regularly update the home servers and associated DNS/IPs of the home servers too (in general). Would it be possible to add support in radmin to dynamically create realms/pools as well as home servers? That way, we can create a single server and assign multiple realms to it etc. Thanks, James -- Visit purple.ai <https://purple.ai/> Purple on LinkedIn <https://uk.linkedin.com/company/purple-wifi> Email disclaimer <http://www.purple.ai/email-disclaimer/>