≡ Menu

What Ports Required For BIND Domain Name Server

I‘d like to know what TCP and UDP ports need to be open for the Domain Name Service (DNS BIND server) to function properly under Linux, OS X and UNIX like operating systems?

You need to use the following TCP and UDP ports on servers:

  1. TCP port 53 – This is used to get when response data exceeds 512 bytes. The zone trasfer between master and slave is also done using TCP port 53.
  2. UDP port 53 – This is primarily used by clients to make dns queries which are less than or equal to 512 byes. If the DNS server response data exceeds 512 bytes, the UDP query will fail and client will retry using TCP port 53.
{ 6 comments… add one }
  • Kim November 2, 2010, 3:23 pm

    hey man thank you, i forgot about udp port 53^^ it works now thank! you dont know a nice tutorial for setting up two redundant dns-server?

  • 0cool February 8, 2013, 3:44 am

    show me some other ports to bind

  • Thanh November 21, 2013, 2:56 pm

    Thanks a lots about UDP port 53. save my life.

  • Johnb590 July 3, 2014, 3:33 pm

    Very efficiently written post. It will be valuable to anyone who usess it, as well as myself. Keep doing what you are doing i will definitely read more posts. ecabddefedac

  • Shane Hudson September 28, 2014, 9:59 am

    Thanks so much for this, I had forgotten to port forward the correct port for nameservers!

  • j.r.srinivasan July 29, 2015, 6:27 am

    show usage details

Seurity: Are you a robot or human?

Leave a Comment