d3mondev / puredns

Puredns is a fast domain resolver and subdomain bruteforcing tool that can accurately filter out wildcard subdomains and DNS poisoned entries.
GNU General Public License v3.0
1.61k stars 151 forks source link

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

Closed apskis closed 1 year ago

apskis commented 2 years ago

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

d3mondev commented 1 year ago

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.