Dnsx
Dnsx Agent Setup to perform multiple dns queries

Dnsx Command

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

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

Dnsx Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run dnsx 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 GO111MODULE=on /usr/local/go/bin/go get -v github.com/projectdiscovery/dnsx/cmd/dnsx
11
12
# -------- End Agents dependencies --------
Copied!

Dnsx Command for Docker

1
echo '{{domain}}' | /root/go/bin/dnsx -silent -a -resp
Copied!
Last modified 10mo ago