Endpoint Protection

 View Only
  • 1.  Firewall Rules to capture DNS queries

    Posted Apr 18, 2012 11:41 AM

    Is there a way to create a firewall rule or policy that will capture all DNS lookup requests an endpoint makes?  I have tried a few things as far as source/destination and local/remote port 53, UDP, svchost etc.  But nothing seems to accurately capture the packets I want to show the various lookups that an enpoint makes.

     



  • 2.  RE: Firewall Rules to capture DNS queries

    Posted Apr 18, 2012 12:05 PM

    I believe you are choosing to log.

    right click on logging > write to packet log.

     

    Choose both UDP & TCP.



  • 3.  RE: Firewall Rules to capture DNS queries

    Posted Apr 18, 2012 01:33 PM

    what about destination/source and port information?  Should that be specified?  I do not want all data, just the DNS lookups.



  • 4.  RE: Firewall Rules to capture DNS queries

    Broadcom Employee
    Posted Apr 18, 2012 01:44 PM


  • 5.  RE: Firewall Rules to capture DNS queries

    Posted Apr 18, 2012 01:47 PM

    It depends what you want to do.  Do you want to capture DNS queries inbound or outbound or both?

    By default, DNS queries are simple UDP packets. There are some TCP generated packets, but if all you want to capture are the DNS queries, than UDP should suffice.  As stated above, you could choose to capture both (TCP & UDP).

    Obviously, DNS is using port 53.  So you will need to specify the Port number in your rule. 

    * * * * * *

    Allow connections to Any Host from Any Host -> Specify the port number DNS (53) and choose to lo the events that match.

     



  • 6.  RE: Firewall Rules to capture DNS queries

    Posted Apr 18, 2012 08:57 PM

    Be aware that the "Smart DNS" feature allows DNS lookup, which has higher priority than the FW rules you created and doesn't log.

    therefore, disable the Smart DNS feature if you want to create a FW rule that capture the DNS queries.

     



  • 7.  RE: Firewall Rules to capture DNS queries

    Posted Apr 19, 2012 10:09 AM

    Create a rule as per the below screen shot,

    Hope this helps.



  • 8.  RE: Firewall Rules to capture DNS queries

    Posted Apr 19, 2012 04:59 PM

    OK, so SmartDNS must be unchecked in order to collect usable data?



  • 9.  RE: Firewall Rules to capture DNS queries

    Posted Apr 19, 2012 05:35 PM

    Correct, Smart DNS needs to be uncheck.