Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

DNS over socsk5 quick question
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

DNS over socsk5 quick question

so i am setting up a tunnel like this: on host machine to forward to xxx.xxx.xx.xxx

    /usr/bin/ssh -fN -D localhost:8005 xxx.xxx.xx.xxx

on some servers, it doesn't resolve DNS queries when forwarding (usually from Racknerd)

is there some setting on Linux or Ubuntu that would kill DNS queries when setting up a tunnel like this? DNS works fine when the server:

ping google.com

64 bytes from xxt (172.253.124.102): icmp_seq=1 ttl=108 time=1.40 ms
64 bytes from xxt (172.253.124.102): icmp_seq=2 ttl=108 time=1.55 ms
64 bytes from xxt (172.253.124.102): icmp_seq=3 ttl=108 time=1.57 ms
64 bytes from xxt (172.253.124.102): icmp_seq=4 ttl=108 time=1.56 ms
64 bytes from xxt (172.253.124.102): icmp_seq=5 ttl=108 time=1.58 ms

Comments

  • why would you troubleshoot it using ping (which means ICMP) instead of actually making a dns request? (use dig or something). DNS works on port 53/udp.

    try running tcpdump on both sides to see where the dns traffic went wrong. You'll be able to see if it timed out, if the dns traffic wasn't sent over socks5 at all, or if there are some tcp_reset shenanigans happening

Sign In or Register to comment.