Enter the command below in a terminal to install ProjectDiscovery’s dnsx using Go.
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest

Installation Notes

  • dnsx requires the latest version of Go
  • Add the Go bin path to the system paths. On OSX or Linux, in your terminal use
echo export $PATH=$PATH:$HOME/go/bin >> $home/.bashrc
source $home/.bashrc