ZDNS
ZDNS Agent Setup to provides high-speed DNS lookup

ZDNS Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
1
echo "{{domain}},8.8.8.8" | go run zdns/main.go A
Copied!
This Agent run in each subdomain.

ZDNS Script

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

ZDNS Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run zdns inside the docker
4
5
RUN apt-get update && apt-get install -y git wget
6
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
7
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
8
RUN export GOPATH=$HOME/go
9
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
10
RUN git clone https://github.com/zmap/zdns.git
11
RUN cd zdns && /usr/local/go/bin/go build
12
13
# -------- End Agents dependencies --------
Copied!

ZDNS Command for Docker

1
cd /app/zdns/zdns && echo '{{domain}},8.8.8.8' | /usr/local/go/bin/go run main.go A
Copied!
Last modified 10mo ago