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:
Parameter | Description |
---|---|
task | Task which will be done. There are 'ip', 'mx', 'txt', 'cname', 'a', 'srv', 'aaaa', 'soa', 'ns', 'ptr', 'reverse' |
data | Input data object |
data.domain | Domain which will be looked up. It is used by 'ip', 'mx', 'txt', 'cname', 'a', 'srv', 'aaaa', 'soa', 'ns', 'ptr' tasks. |
data.ip | IP which will be looked up. It is used by 'reverse' |
data.jndi | 'true' if using standard DNS feature, 'false' if otherwise |
data.resolver | Define 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:
Parameter | Description |
---|---|
isError | 'true' if error occurs, 'false' if success |
errorCode | Code name of error |
errorMessage | Message of error |
results | Results object |
Contents