PHP: Gethostbyname and domain containing a number
EDIT: The issue ended up being filtering software on the machine I was working on.
Using gethostbyname and domainname.com I can get the IP of but if it is say 1domain.com or doma1n.com it fails. Also dns_get_record seems to behave the same way.
Is there an alternative to be able to source the ip for a domain containing numbers?