Dnsprobe Agent Setup to perform multiple dns queries

Dnsprobe Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.

echo {{domain}} | ./dnsprobe -r A

Click here to know more about Dnsprobe

This Agent run in each subdomain.

Dnsprobe 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.

Dnsprobe Dockerfile Entry

# -------- Agents dependencies --------
# To allow run zdns inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.13.4.linux-amd64.tar.gz
RUN echo 'export GOROOT=/usr/local/go' >> ~/.profile
RUN echo 'export GOPATH=$HOME/go' >> ~/.profile
RUN echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.profile
RUN . ~/.profile && go get -u -v github.com/projectdiscovery/dnsprobe
# -------- End Agents dependencies --------

Dnsprobe Command for Docker

cd /root/go/bin/ && echo {{domain}} | ./dnsprobe -r A