DNS
--
Questions
--
Followers
Top Experts
On the VM DNS server (192.168.2.4) , I constantly get DNS resolution failing. I've contacted OpenDNS support and they told me that they see my TCP connection to their server failing with Timeouts.
It looks the DNS Server is correctly forwarding out the queries and getting a respond.
Does the teardown duration of 0:00:00 look correct?
On my ASA logs:
Source IP Source Port Destination IP Destination Port Description
192.168.2.4 40067 202.127.70.160 40067 Built dynamic UDP translation from inside: 192.168.2.4/40067 to outside 202.127.70.160/40067
192.168.2.4 40067 208.67.222.222 53 Built outbound UDP connection for outside:208.67.222.222/53 to inside:192.168.2.4/40067(202.127.70.160/40067)
208.67.222.222 53 192.168.2.4 40067 Teardown UDP connection for outside:208.67.222.222/53 to inside:192.168.2.4/40067 duration 0:00:00 bytes 66
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Just the OpenDNS VM forwarding out queries is reported to be having problems.
How can I trace if my firewall is dropping any outgoing DNS traffic?
A sanitized config would come in handy :)
What's going on with TCP?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Wed Aug 29 15:47:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
Wed Aug 29 15:48:48 2012 Â Â TCP connection to 208.67.220.220 fails: Timeout
Wed Aug 29 15:48:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
Wed Aug 29 15:49:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
According to them, not all connections are timing out, there are a few successes.
They are suspecting some form of throttling or IPS.
I have DNS inspection in ASA
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
class inspection_default
  inspect dns preset_dns_map
class-map my-ip-class
 match access-list IPS
class my-ips-class
 ips promiscuous fail-open
 user-statistics accounting
access-list IPS extended permit ip any any
 match access-list IPS
I check  the logs on my ASA and filtered via the IP of the appliance. All I see are the DNS traffic mentioned in my original question. I don't see any other dropped/denied logs.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
According to OpenDNS support, this was logged in their VM appliance, which resides inside my LAN.
Wed Aug 29 15:47:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
Wed Aug 29 15:48:48 2012 Â Â TCP connection to 208.67.220.220 fails: Timeout
Wed Aug 29 15:48:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
Wed Aug 29 15:49:48 2012 Â Â TCP connection to 208.67.222.222 fails: Timeout
192.168.2.4 Â Â 40067 Â Â Â 208.67.222.222 Â Â 53 Â Â Â Â Â Â Â Â Â Â Built outbound UDP connection for outside:208.67.222.222/53 to inside:192.168.2.4/40067(202.127.70. 160/40067)
208.67.222.222 Â 53 Â Â 192.168.2.4 Â Â Â Â Â 40067 Â Â Â Â Â Â Â Â Â Teardown UDP connection for outside:208.67.222.222/53 to inside:192.168.2.4/40067 duration 0:00:00 bytes 66
It's entirely possible that the ASA is blocking TCP connections, but allowing UDP connections.
I think you need to find out from OpenDNS what the device is trying to do via TCP.
If they're trying to perform a zone transfer, then you may need to modify the ASA configuration to allow it.
A DNS forward request, or a recursive lookup, would use UDP/53.
I suggest using the packet tracer again, using TCP/53 as the destination port.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
It's entirely possible that the ASA is blocking TCP connections, but allowing UDP connections.
I think you need to find out from OpenDNS what the device is trying to do via TCP.
If they're trying to perform a zone transfer, then you may need to modify the ASA configuration to allow it.
A DNS forward request, or a recursive lookup, would use UDP/53.
I suggest using the packet tracer again, using TCP/53 as the destination port.
I have checked both. Outgoing TCP and UDP/53 are all allowed.
In fact, all outgoing traffic initiated from the LAN is not blocked.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I'm still suggesting that you run the packet tracer again, using TCP/53.I wasn't clear in my answer but I have ran both TCP/53 and UDP/53 on the packet tracer
Thu Sep 6 15:21:41 2012 OpenDNS Servers: All DNS fail => All DNS ok
Thu Sep 6 15:21:41 2012 UDP traffic to 208.67.220.220 succeeds: 67.215.65.132
Thu Sep 6 15:21:41 2012 TCP connection to 208.67.220.220 succeeds
Thu Sep 6 15:21:41 2012 UDP traffic to 208.67.222.222 succeeds: 67.215.65.132
Thu Sep 6 15:21:41 2012 TCP connection to 208.67.222.222 succeeds
Thu Sep 6 15:22:42 2012 OpenDNS Servers: All DNS ok => Not all DNS ok
Thu Sep 6 15:22:42 2012 UDP traffic to 208.67.220.220 succeeds: 67.215.65.132
Thu Sep 6 15:22:42 2012 TCP connection to 208.67.220.220 fails: Timeout
Thu Sep 6 15:22:42 2012 UDP traffic to 208.67.222.222 succeeds: 67.215.65.132
Thu Sep 6 15:22:42 2012 TCP connection to 208.67.222.222 succeeds
Thu Sep 6 15:23:41 2012 OpenDNS Servers: Not all DNS ok => All DNS ok
Thu Sep 6 15:23:41 2012 UDP traffic to 208.67.220.220 succeeds: 67.215.65.132
Thu Sep 6 15:23:41 2012 TCP connection to 208.67.220.220 succeeds
Thu Sep 6 15:23:41 2012 UDP traffic to 208.67.222.222 succeeds: 67.215.65.132
Thu Sep 6 15:23:41 2012 TCP connection to 208.67.222.222 succeeds
Thu Sep 6 15:24:42 2012 OpenDNS Servers: All DNS ok => All DNS fail
Thu Sep 6 15:24:42 2012 UDP traffic to 208.67.220.220 succeeds: 67.215.65.132
Thu Sep 6 15:24:42 2012 TCP connection to 208.67.220.220 fails: Timeout
Thu Sep 6 15:24:42 2012 UDP traffic to 208.67.222.222 succeeds: 67.215.65.132
Thu Sep 6 15:24:42 2012 TCP connection to 208.67.222.222 fails: Timeout
I was provided their tcpdumps...it is weird that TCP sometimes timeout.
But UDP always seems to succeed.
But TCP does goes through at time.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
After I created another instance with double the memory and processor, the TCP timeout stopped.
DNS
--
Questions
--
Followers
Top Experts
The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.