magicanded

magicanded / algodns / 0.2.15

README.md

algodns - DNS Query Processor

algodns provides tool for querying DNS records.

Usage

Input

algodns receives JSON object with following attributes:

ParameterDescription
taskTask which will be done. There are 'ip', 'mx', 'txt', 'cname', 'a', 'srv', 'aaaa', 'soa', 'ns', 'ptr', 'reverse'
dataInput data object
data.domainDomain which will be looked up. It is used by 'ip', 'mx', 'txt', 'cname', 'a', 'srv', 'aaaa', 'soa', 'ns', 'ptr' tasks.
data.ipIP which will be looked up. It is used by 'reverse'
data.jndi'true' if using standard DNS feature, 'false' if otherwise
data.resolverDefine which resolver will be used. There are 'simple', 'extended', 'none'.
data.answer'true' if getting DNS answer, 'false' if running DNS lookup.

Output

algodns returns JSON object with following attributes:

ParameterDescription
isError'true' if error occurs, 'false' if success
errorCodeCode name of error
errorMessageMessage of error
resultsResults object