Assign DNS server when authenticate
I have a freeradius: FreeRADIUS Version 2.1.12, for host i486-pc-linux-gnu, I need it to assign dns when authenticating, is it possible? How can I do this? Best regards, FreeRADIUS Version 2.1.12, for host i486-pc-linux-gnu, built on Dec 16 2012 at 22:03:33 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. Enviado desde Outlook<http://aka.ms/weboutlook>
On Apr 1, 2022, at 9:37 AM, Carina V. Barca <carvandar@hotmail.com> wrote:
I have a freeradius: FreeRADIUS Version 2.1.12, for host i486-pc-linux-gnu,
I would suggest updating to at least 2.2.10. It will be compatible with the 2.1.12 configuration files, and it contains a number of bug fixes.
I need it to assign dns when authenticating, is it possible? How can I do this?
This isn't generally possible. DNS is assigned via DHCP. RADIUS just returns yes/no for network access, and things like VLAN information. Think of it this way: the RADIUS Access-Accept is a message to the NAS, telling the NAS what to do. The end-user machine doesn't see any of that. DHCP is a message to the end-user system. So that's where DNS assignment goes. Alan DeKok.
----- On Apr 1, 2022, at 3:37 PM, Carina V. Barca carvandar@hotmail.com wrote:
I need it to assign dns when authenticating, is it possible? How can I do this?
You can provide the NAS with information (e.g. which DNS servers to give to clients) in the Access-Accept packet. Look at the documentation of your NAS how to do that, if it is capable of doing that. -- Thor
participants (3)
-
Alan DeKok -
Carina V. Barca -
Thor Spruyt