
Buy this CFC for $24, or buy fusionKit for $99 and get lots more.
$24
fusionkit.dns
Component dns
* - private method
Component dns
Perform DNS Queries with ColdFusion
properties: | |
methods: | addressLookup, init, lookup, mxLookup, nsLookup, outputAttributes |
addressLookup |
---|
any
addressLookup
(
required
string
query
)
performs a DNS A query. returns comma seperated list of results Output: supressed Parameters: query: string, required, query - the domain name |
init |
void
init
(
string
dns_server="208.67.222.222",
numeric
initial_timeout="2000",
numeric
retries="3"
)
Initialize by providing a dns server Output: supressed Parameters: dns_server: string, optional, dns_server - IP address of a DNS server. Default value is IP for opendns.com public dns server initial_timeout: numeric, optional, initial_timeout - in miliseconds, sets value of com.sun.jndi.dns.timeout.initial property retries: numeric, optional, retries - sets value of com.sun.jndi.dns.timeout.retries property |
lookup |
lookup
(
required
string
query,
required
string
type
)
returns a java javax.naming.directory.Attributes object Output: supressed Parameters: query: string, required, query - your query, typically the domain name type: string, required, type - A DNS record type, such as A, MX, etc. |
mxLookup |
query
mxLookup
(
required
string
domain
)
returns a query of mail exchangers (MX's) and their priority Output: supressed Parameters: domain: string, required, domain - the domain you want to lookup |
nsLookup |
any
nsLookup
(
required
string
query
)
performs a DNS NS query. returns comma seperated list of results Output: supressed Parameters: query: string, required, query - the domain name |
outputAttributes |
void
outputAttributes
(
attributes
)
takes a Attribute object and displays the contents Output: enabled Parameters: attributes: any, optional, attributes - a java javax.naming.directory.Attributes object |
Copyright © 2006 Foundeo Inc. - All Rights Reserved. ColdFusion is a trademark of Adobe Systems Incorporated.