use gethostbyname for determining PLC_API_IP argument like plc.d/postgresql