10-09-2006 12:50 PM - edited 02-20-2020 09:37 PM
whcih one among these two can be used for DNS in ACL
TCPorUDP on 53 or both?
10-09-2006 04:32 PM
Common port for DNS is UDP-53. This is widely used everywhere. The UDP requires no handshake or acknowledge between the two (2) machines.
Among reasons why UDP is used because successive DNS requests can go to different anycast root servers and routes can be unstable. UDP can switch quickly and cope with such changes. TCP would not cope well.
But TCP-53, on the other hand, is more reliable. But this is useful for zone transfer request. The normal UDP-53 is used for DNS queries.
So, you may use both TCP/UDP, or UDP only, depending on your requirement.
http://seclists.org/security-basics/2002/Nov/0045.html
Cheers!
AK
10-10-2006 11:03 AM
what are the other applications which use tcp as well as udp
10-10-2006 03:07 PM
Syslog normally use UDP, but also support TCP.
Typically, when UDP is used, if communication breaks down, log messages unable to be sent to syslog server, and it will be lost (when device's buffer full and overwritten).
Reason why TCP is because it's reliable, and log messages will be re-transmitted if the communication breaks down.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide