ZDNS Agent Setup to provides high-speed DNS lookup

ZDNS Command

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

echo "{{domain}}," | go run zdns/main.go A

Click here to know more about ZDNS

This Agent run in each subdomain.

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

ZDNS 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 git clone https://github.com/zmap/zdns.git
RUN . ~/.profile && cd zdns && go build
# -------- End Agents dependencies --------

ZDNS Command for Docker

. ~/.profile && cd /app/zdns/zdns && echo "{{domain}}," | go run main.go A