- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 04:23 AM - edited 03-11-2019 12:29 PM
hi
i was goin through dns doctorig example in the cisco site and was going through packet captures of same . as dns request is udp , is it true that its corresp. dns reply will also come back . As it is UDP packet which is not reliable like TCP , is reply a new session initiated from the destionation ?
Solved! Go to Solution.
- Labels:
-
NGFW Firewalls
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 05:25 AM
Yes, you are right. UDP is connectionless, and ASA will actually match the ID of the DNS request and reply and makes sure that it matches.
"inspect dns" is required to make sure that it is a legitemate DNS reply that matches the DNS request on the ASA connection table.
Here is more information on dns in specific on ASA for your reference:
http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/i2.html#wp1719130
However, for other UDP packet, you are absolutely right.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 04:28 AM
Yes, the corresponding dns reply should return. It will return the corresponding NAT address according to the static NAT statement that is configured with DNS doctoring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 04:45 AM
hi
dns doctorig example was just reference , my ques is more related to networking as dns request is udp i believe it will just deliver the packet to destn , but seeing this eg. as corresp. dns reply is also coming back .i wanted to understnad if reply is a new session initiated from the destination towards source (As it is UDP packet which is not reliable like TCP )

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 05:25 AM
Yes, you are right. UDP is connectionless, and ASA will actually match the ID of the DNS request and reply and makes sure that it matches.
"inspect dns" is required to make sure that it is a legitemate DNS reply that matches the DNS request on the ASA connection table.
Here is more information on dns in specific on ASA for your reference:
http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/i2.html#wp1719130
However, for other UDP packet, you are absolutely right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 06:09 AM
thanks ! and matching the ID of the DNS request with reply is done by DNS guard. right ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2010 06:30 AM
Kamlesh,
dns guard - ensures one response per request.
You can read here: http://www.cisco.com/en/US/docs/security/asa/asa82/command/reference/d2.html#wp1951632
-KS
