openbizgit / DNSLookup

A CFC for retrieving DNS record type values from a supplied domain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNSLookup

A CFC for retrieving DNS record type values from a supplied domain.

This is ultimately a work in progress and there is a fair share of bits to add/edit depending on what results could be from a given record type.

A list of DNS record types can be found at - http://en.wikipedia.org/wiki/List_of_DNS_record_types.

Some notes. . .

  • Formatting of data has been applied, to known outputs that could be tested, in the form of helper functions in the CFC, so some arrays may contain a string of multiple values that would still need to be parsed.
  • If the domain does not exist, a NamingException is thrown. I plan to handle this in a less error-in-your-face way.
  • If a given DNS type is not found or no records are available, the function will return a array containing the domain name supplied. This is a temporary method of handling every type of DNS lookup for now.

About

A CFC for retrieving DNS record type values from a supplied domain.

License:MIT License


Languages

Language:ColdFusion 100.0%