note 39527 added to function.checkdnsrr

From: Date: Sat, 31 Jan 2004 23:58:33 +0000
Subject: note 39527 added to function.checkdnsrr
Groups: php.notes 
Request: Send a blank email to php-notes+get-64494@lists.php.net to get a copy of this message
On Windows NT machines (inc. 2000, XP, 2003, .net, Longhorn) you can emulate this function by spoonfeeding the nslookup proglet. After spitting out some info on which DNS server it's using, the daemon presents a "> " prompt. At this point if you enter a domain name a list of A records will be returned from the default name server. The sixth line of output has "Address: " followed by the IPv4 address in dotted-quad notation. You may enter "set type=" followed by the IP type. Currently the only supported IP class is IN (Internet); the others are no longer supported. You can exit by entering "exit". You may perform a one-shot lookup by passing the domain name as a command line argument; in this case nslookup will automatically perform an A lookup on the default name server and exit. The IPv4 address is on the last line with non-whitespace. Additional information and options can be obtained by running nslookup and then searching for "?". ---- Manual Page -- http://www.php.net/manual/en/function.checkdnsrr.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39527 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39527&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39527&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64494) next »