I'm trying to set up RADIUS auth with my Strongswan server.
I get the following error:
Jun 2 20:51:47 nl1 charon: 17[LIB] resolving 'radius.server.com' failed: Name or service not known
Jun 2 20:51:47 nl1 charon: 14[IKE] initiating EAP_RADIUS method failed
Jun 2 20:51:47 nl1 charon: 14[ENC] generating IKE_AUTH response 2 [ EAP/FAIL ]
It says it cannot resolve the hostname "radius.server.com", however when I ping or DIG the hostname on my server it works fine. resolv.conf is also set correctly.
How does Strongswan resolve the RADIUS hostname and how can I fix this ? When I enter the IP directly it works fine.