Dnsx Agent Setup to perform multiple dns queries

Dnsx Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
echo {{domain}} | ./dnsx -silent -a -resp
This Agent run in each subdomain.

Dnsx Script

We save the DNS Lookup inside the Subdomain's Notes
return new ReconNess.Core.Models.ScriptOutput { Note = lineInput };
Check the Readme on GitHub to know more about the Script.

Dnsx Dockerfile Entry

# -------- Agents dependencies --------
# To allow run dnsx inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
RUN export GOPATH=$HOME/go
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
RUN GO111MODULE=on /usr/local/go/bin/go get -v
# -------- End Agents dependencies --------

Dnsx Command for Docker

echo '{{domain}}' | /root/go/bin/dnsx -silent -a -resp