Re: Issue with dynamic home server and duplicate server ipaddr on 3.2.8
James Wood via Freeradius-Users <[email protected]> Tue, 17 Mar 2026 10:07:58 +0000
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <CANHYfLRJ16-WmQcgoWmvKRcwsDdM+LEF8_PbDCxZBT+GNyL4vQ@mail.gmail.com> |
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/> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html