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

Temporary failure in name resolution #81

Open
uby777881 opened this issue Aug 29, 2023 · 9 comments
Open

Temporary failure in name resolution #81

uby777881 opened this issue Aug 29, 2023 · 9 comments

Comments

@uby777881
Copy link

Hello, I have setup dnsmasq in VPS 1 and added the VPS 1 IP to VPS 2.

VPS 2 can't connect github after changing the DNS.

I contacted my VPS provider and they said port 53 UDP is not open and they will not open it.

Is there anyway i can use the VPS as DNS by changing the port 53 to any other random port? Let me know how

@myxuchangbin
Copy link
Owner

According to the document prompt, modify the configuration option port = 5353

@uby777881
Copy link
Author

My VPS provider said " UDP opens ports 30000-50000 " They only opens this port range.

@uby777881
Copy link
Author

uby777881 commented Aug 30, 2023

Also i tried to change the port to 31154 and restarted Dnsmasq. Then i added this in my VPS2

chattr -i /etc/resolv.conf
cp /etc/resolv.conf /etc/resolv.conf.bak
rm /etc/resolv.conf
cat > /etc/resolv.conf << EOF
nameserver (my VPS1 IP)#31154
EOF

After this also it can't connect and got the same error "Temporary failure in name resolution
"

@myxuchangbin
Copy link
Owner

resolv does not support configuring dns servers with ports

@uby777881
Copy link
Author

Oh. May i know how can i use the port 31154 and use the DNS IP in the slave VPS resolv

@uby777881
Copy link
Author

Please guide me the steps. Thank you

@myxuchangbin
Copy link
Owner

Then install the dnsmasq and listen to 127.0.0.1:53
Configure the upstream server on the dnsmasq to support custom ports
Finally, the configuration in the /etc/resolv.conf is modified to be nameserver 127.0.0.1

@uby777881
Copy link
Author

uby777881 commented Aug 31, 2023

That means i need to install Dnsmasq + SNI Proxy in my VPS 1 (support streaming media)

and install Dnsmasq only in VPS 2 (it doesn't support streaming media) ?

@myxuchangbin
Copy link
Owner

sniproxy can be installed in VPS1, only dnsmasq can be installed in VPS2.
Modify the configuration in the dnsmasq to point Netflix resolution to VPS1

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

No branches or pull requests

2 participants