Katanius Posted April 2, 2007 Share Posted April 2, 2007 Hello all Is there any way or a function i dont know about to get DNS info/records on a windows platform? checkdnsrr,dns_get_record, getmxrr are not availiable on windows platforms so i tried the PEAR net_DNS class but it doesnt seem to work eventhough i used the package manager and packages installed corectly.. Is there anything else i can do? is there any function i can use without having to install extra packages and classes? ??? the thing i want to do is for a given hostname to find if it is a mail server, web server etc. Am i even walking in the right path with these functions? or should i try something else? Im new in PHP so Id appreciate any help you can give me. Link to comment https://forums.phpfreaks.com/topic/45339-need-help-getting-dns-information-on-windows-platform/ Share on other sites More sharing options...
jguy Posted April 2, 2007 Share Posted April 2, 2007 You can use "nslookup": Here's an example: exec("nslookup -type=A " . $reverse_ip . "." . $dnsbl_list . ".", $lookup); Link to comment https://forums.phpfreaks.com/topic/45339-need-help-getting-dns-information-on-windows-platform/#findComment-220154 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.