40 Domain Name Server Port In This Year

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.
Domain name server port. Ports are unsigned 16 bit integers 0 65535 that identify a specific process or network service. It is not used on a windows server 2012 domain controller. Nameserver lookup or ns lookup is a tool for getting name server records of any domain name.
A dns name server responds with answers to queries against its database. Domain name servers are a fundamental part of the domain name system. The most frequently used port for dns is udp 53.
The most common types of records stored in the dns database are for start of authority soa ip addresses a and aaaa smtp mail exchangers mx name servers ns pointers for reverse dns lookups ptr and domain name aliases cname. All a domain name does is resolve to an ip address the port is completely independent of that process. Dns only handles domain ip mapping.
Port 5722 is only used on a windows server 2008 domain controller or on a windows server 2008 r2 domain controller. Dns uses both tcp and udp port 53. Whenever a browser sends a dns request to dns server it sends back the nameserver records and the name servers are then used to get real ip address behind a domain name.
A dns name server is a server that stores the dns records for a domain. The zone trasfer between master and slave is also done using tcp port 53. Ns is a record type of dns and it is set up via a hosting provider.
You need to use the following tcp and udp ports on servers. Nginx is one of the most popular reverse proxies that are used to do that. This is used when a client device e g a computer smartphone etc communicates with a dns server in order to resolve a specific domain name as described above.