...

View Full Version : DNS Lookup



knightcon
08-19-2007, 12:59 PM
Hi, Does anyone know how I could lookup the DNS record of a domain name. I cant use the PHP dns_lookup_record function because I am running my server on a windows box. I was hoping that there was some kind of class or something similar which I could use or that someone knows how I could read and then analyse the data straight from a DNS server.

rafiki
08-19-2007, 01:01 PM
could search phpclasses.org

CFMaBiSmAd
08-19-2007, 04:24 PM
Use the PHP exec() function with the Windows nslookup command.

http://www.php.net/manual/en/function.exec.php
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nslookup.mspx?mfr=true



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum