Net_Whois
[ class tree: Net_Whois ] [ index: Net_Whois ] [ all elements ]

Class: Net_Whois

Source Location: /Net_Whois-1.0.2/Whois.php

Class Overview

PEAR
   |
   --Net_Whois

Looks up records in the databases maintained by several Network Information Centres (NICs). This class uses PEAR's Net_Socket:: class.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 41]
Looks up records in the databases maintained by several Network Information Centres (NICs). This class uses PEAR's Net_Socket:: class.


[ Top ]


Class Variables

$authorative =  false

[line 52]

Retrieve authorative definition only
  • Access: public

Type:   boolean


[ Top ]



Method Detail

Net_Whois (Constructor)   [line 111]

Net_Whois Net_Whois( )

Constructs a new Net_Whois object
  • Access: public

[ Top ]

query   [line 131]

mixed query( string $domain, [string $userWhoisServer = null])

Connect to the necessary servers to perform a domain whois query. Prefix queries with a "!" to lookup information in InterNIC handle database.

Add a "-arin" suffix to queries to lookup information in ARIN handle database.

  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain   —  IP address or host name
string   $userWhoisServer   —  server to query (optional)

[ Top ]

queryAPNIC   [line 181]

mixed queryAPNIC( string $domain)

Use the Asia/Pacific Network Information Center (APNIC) database.

It contains network numbers used in East Asia, Australia, New Zealand, and the Pacific islands.

  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain   —  IP address or host name

[ Top ]

queryIPv6   [line 197]

mixed queryIPv6( string $domain)

Use the IPv6 Resource Center (6bone) database. It contains network names and addresses for the IPv6 network.
  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain   —  IP address or host name

[ Top ]

queryRADB   [line 214]

mixed queryRADB( string $ipAddress)

Use the Route Arbiter Database (RADB) database. It contains route policy specifications for a large number of operators' networks.
  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $ipAddress   —  IP address

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:35:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.