DNS Lookup Class

Class Methods

The following methods can be invoked on instances of this class.

resolve(string strHost, mixed strNameServer)

Returns an ip address for a host

resolveRealHost(mixed strHost, bool bAuthoritive)

Resolves the servers reverse hostname for a virtual hostname

reverseLookup(string strIP)

Performs a reverse dns lookup

whois(string strDomain)

Performs a whois lookup on a domain

areNameServersSynergy8(string strDomain)

Returns whether or not name servers for a domain are Synergy 8's

getNameServers(string strDomain)

Returns the configured name servers for a domain

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class