Links

ZDNS

ZDNS Agent Setup to provides high-speed DNS lookup

ZDNS Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
echo "{{domain}},8.8.8.8" | go run zdns/main.go A
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://golang.org/dl/go1.16.linux-amd64.tar.gz
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 git clone https://github.com/zmap/zdns.git
RUN cd zdns && /usr/local/go/bin/go build
# -------- End Agents dependencies --------

ZDNS Command for Docker

cd /app/zdns/zdns && echo '{{domain}},8.8.8.8' | /usr/local/go/bin/go run main.go A