I am trying to route all DNS queries from my computer through my server. My laptop seems to be sending the queries to the server, but I'm unable to monitor them on the server.
On the client (my laptop) I have my name servers in
/etc/resolv.conf set to that of my server.
My laptop seems to be sending the DNS queries to my server as this is confirmed in Wireshark where it shows the DNS queries destination port as my server. The server also responds.
If I run the command:
The response is (server IP blanked out):
Server: xx.55.xxx.xxx Address: xx.55.xxx.xxx#53 Non-authoritative answer: Name: clarks.com Address: 184.108.40.206
tcpdump running on the server using the following command:
tcpdump -n udp port 53
Any ideas what could be going wrong? To note, my server doesn't have a DNS server running, but I still should be able to see the requests before they hit the firewall right?
What could be causing the DNS packets to either not reach the server (even though wireshark shows it does), or why tcpdump isn't capturing the packets?