How can I connect via socket using DNS name from no-ip? or Is there a way to get the IP from no-ip dns name?
working
$cnt = socket_connect($socket,"100.100.100.100",$port);
but the IP is dynamic. I need something like:
$cnt = socket_connect($socket, "blablabla.ddns.net",$port);
I´ve tried gethostbyname() but it returns the same IP for all no-ip name.