It was funny to run into PHP core functions that did not work in Windows. I accidentally discovered a set of PHP function dedicated to networking, and decided to try them out. I was specifically interested in the ones dealing with DNS records. Skepticism compelled me to quickly write this little script. Using the function set limited to PHP 4.3.x, I tried to make it identify specific records associated with any domain.

Using the form below, you may test the code. I have observed that checkdnsrr isn't the brightest of functions. If a domain has a valid IP, it will return true. It's not what I expected it to do.