Skip to content

Unable to make DNS Queries #5

@git-oaktree

Description

@git-oaktree

Hello,

I am having difficulty making UDP dns queries through the wiresocks configuration. The wiresocks server is an ubutnu system on my local machine. the SOCKS server is located on another server. In order to all for communication between the two systems I have a forward tunnel bound to all interfaces that opens up port 5005 on my ubuntu system and forwards it to the socks server also on port 5005.

- gL5005:127.0.0.1:5005
The reason I suspect a DNS issue with UDP is that is what I'm seeing with wireshark. Secondly I am able to make DNS queries via TCP, both from the ubuntu system running wiresocks, and the Windows machine acting as the client. On the Windows system, the resolve-dnsname cmdlet allows for tcp to be used. With a command similar to below, i obtain a successful response.

  • resolve-dnsname -tcponly -server 10.13.4.1 photos.google.com

From the window system, when I attempt a nslookup of photos.google.com, I see the following:

  • dns query
  • dns reseponse
  • icmp port unreachable from 10.13.13.2 (Windows) to 10.13.13.1 (Ubuntu). stating port 53 is closed.

I was able to access the command line console of the wireguard docker image (sudo docker exec -it wireguard bash) and I see port 53 listening.

Please let me know what other information I can provide to help. I am truly stuck.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions