So i'm parsing an access log so I have all the ips. I try to do gethostbyaddress($ip, AF_INET) and it doesn't return anything. What am I doing wrong? I've looked at examples it looks like I'm doing it right. All I want is the hostname to return.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.