Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: [Errno -2] Name or service not known #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dafyk
Copy link

@dafyk dafyk commented Jul 9, 2020

I am using dnsmasq and dnscrypt-proxy as local dns server. When i try to resolve a domain using dnschef -> dnsmasq -> dnscrypt-proxy i am getting error:

[!] [!] Could not proxy request: [Errno -2] Name or service not known

This PR fixes the issue by using regex split for # and : characters. On my server self.server.nameservers returns x.x.x.x:port instead of x.x.x.x#port

I am using dnsmasq and dnscrypt-proxy as local dns server.  When i try to resolve a domain using dnschef->dnsmasq->dnscrypt-proxy i am getting error:

[!] [!] Could not proxy request: [Errno -2] Name or service not known

This PR fixes the issue by using regex split for # and : characters. On my server `self.server.nameservers` returns x.x.x.x:port instead of x.x.x.x#port
byt3bl33d3r added a commit to byt3bl33d3r/dnschef-ng that referenced this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant