d3mondev / puredns

Puredns is a fast domain resolver and subdomain bruteforcing tool that can accurately filter out wildcard subdomains and DNS poisoned entries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not quite sure how to add the path to massdns in the PATH environment variable

apskis opened this issue · comments

I know this may be obvious for a lot of people but it wasn't for me. I am working on ubuntu 20 and I am not quite sure how to add the path to massdns in the PATH environment variable. Can someone assist?

Do I simply add the following to my ./profile or to ./bashrc?
PATH=/usr/local/bin/massdns

If you compile and install massdns according to the instructions, make sure to run the last step as root with sudo.

sudo make install

This will copy massdns into /usr/local/bin, which should already be in the PATH environment variable.