Issue with dynamic home server and duplicate server ipaddr on 3.2.8
James Wood
james.wood at purplewifi.com
Tue Mar 17 10:07:58 UTC 2026
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/>
More information about the Freeradius-Users
mailing list