Community discussions

MikroTik App
 
Jeroen1000
Member Candidate
Member Candidate
Topic Author
Posts: 202
Joined: Fri Feb 18, 2011 2:05 pm

View DNS query

Fri Nov 18, 2011 8:24 pm

Is there any way to view which DNS server Mikrotik is querying? Like an NSLOOKUP command equivalent? I'd like to check whether it is using the DNS server I have specified.

Thanks,
Jeroen
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: View DNS query

Fri Nov 18, 2011 8:49 pm

Not directly. Of course you can use torch or traffic capture or even just a filtered view of the IP firewall connections to see the destination address of DNS packets that have the router as the source.

It doesn't really have a choice, though. Whatever servers are listed in "/ip dns" are the only DNS servers the router knows about.
 
Jeroen1000
Member Candidate
Member Candidate
Topic Author
Posts: 202
Joined: Fri Feb 18, 2011 2:05 pm

Re: View DNS query

Fri Nov 18, 2011 9:01 pm

Capturing traffic kind of worked (good enough for confirmation purposes). Every time I trigger an NSLOOkUP from my workstation, the IP of OpenDNS is queried. I see an "IN" and and "OUT" packet so that would be request and response (reply).
Perhaps I could try a port mirror and connect a Wireshark equiped computer to the mirror-port if I really want to see the full DNS-response.

So thanks Fewi, packet capturing suffices. My ISP's DNS servers stop certain website from loading completely. A bit weird but using OpenDNS solves this:)

Who is online

Users browsing this forum: 4l4R1 and 20 guests