kpcyrd / sn0int

Semi-automatic OSINT framework and package manager
https://sn0int.readthedocs.io/
GNU General Public License v3.0
1.92k stars 177 forks source link

Error: No nameserver configured #204

Closed anoduck closed 3 years ago

anoduck commented 3 years ago

No Nameserver

Upon attempting to install modules with pkg quickstart, I am given the following error.

[-] error trying to connect: No nameserver configured

Dnscrypt-proxy is my DNS resolution provider which runs on localhost and listens on port 53, so nothing out of the ordinary.


Generating zsh completions

It would be nice to generate the zsh completions for sn0int, and the command sn0int completions zsh does generate them successfully and then dumps output on the command line. I just don't know where I am suppose to place them or how to properly set them up in .zshrc.


Versions

Environment

kpcyrd commented 3 years ago

Can you paste your /etc/resolv.conf?


For zsh completions, you can add this to your ~/.zshrc:

if [ -d ~/.zsh_completions ]; then
    fpath=(~/.zsh_completions $fpath)
fi

Then create the folder and place your completions there:

mkdir -vp ~/.zsh_completions
sn0int completions zsh > ~/.zsh_completions/_sn0int
anoduck commented 3 years ago

Hey @kpcyrd, My first issue is now resolved, I had forgotten that I modified dhclient.conf to ignore domain-name-servers; while setting up dnscrypt-proxy. Once I commented out the line and replaced it with supersede domain-name-servers 127.0.0.1; sn0int worked like a charm.

And the completions are setup and working good.

Thanks!

kpcyrd commented 3 years ago

Awesome, glad to hear that! :)