Muthu,
Regarding the "Error: Name lookup for host failed", you need to include the IP address of the RADIUS Server in the command line e.g. "primary server ". Also, if you are using the default ports for RADIUS you do not need to include a port # (e.g. port 1812) in the command line.
Thanks.
Best regards,
Andrew