cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
728
Views
0
Helpful
5
Replies

dns question

techkamleshs
Level 1
Level 1

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 ?

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

5 Replies 5

Jennifer Halim
Cisco Employee
Cisco Employee

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.

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 )

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.

thanks ! and matching the ID of the DNS request with reply is done by DNS guard. right ?

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

Review Cisco Networking for a $25 gift card