knownports / Handbook

DNS, DHCP, NTP, SNMP and BGP port numbers

By Liam CooperNovember 26, 2026IANA registry as updated October 27, 2026

The registry assigns port 53 to domain, 67 and 68 to bootps and bootpc (the numbers DHCP uses), 123 to ntp, 161 and 162 to snmp and snmptrap, and 179 to bgp. All of them are System Ports on both TCP and UDP, and most of their rows say very little: of the 18 entries in the table below, eight cite a specification and three carry a registration date.

The rows show how sparsely the earliest assignments are documented in this file, compared with entries added in the last twenty years. Some routing protocols are absent by design: OSPF and ICMP have IP protocol numbers, kept in another IANA registry, so they have no port row.

The main entries

PortServiceProtocolsLabelRegisteredModified
53domainTCPUDPDomain Name Server——
67bootpsTCPUDPBootstrap Protocol Server——
68bootpcTCPUDPBootstrap Protocol Client——
123ntpTCPUDPNetwork Time Protocol——
161snmpTCPUDPSNMP——
162snmptrapTCPUDPSNMPTRAP——
179bgpTCPUDPSCTPBorder Gateway Protocol—Feb 7, 2022
521ripngTCPUDPripng——
546dhcpv6-clientTCPUDPDHCPv6 Client—May 21, 2018
547dhcpv6-serverTCPUDPDHCPv6 Server—May 21, 2018
646ldpTCPUDPLDP——
647dhcp-failoverTCPUDPDHCP Failover—May 21, 2018
847dhcp-failover2TCPUDPdhcp-failover 2——
853domain-sTCPUDPDNS query-response protocol run over TLSOct 8, 2015Apr 11, 2022
3784bfd-controlTCPUDPBFD Control Protocol——
3785bfd-echoTCPUDPBFD Echo Protocol——
4784bfd-multi-ctlTCPUDPBFD Multihop ControlFeb 2006—
6653openflowTCPUDPOpenFlowJul 18, 2013—

Of these 18 entries, 14 sit below 1024. The exceptions are the BFD numbers, 3784, 3785 and 4784, and openflow on 6653, registered on July 18, 2013.

DNS: 53 and 853

Port 53 carries one of the least informative rows in the registry for how much it matters. The name is domain, the label is “Domain Name Server”, and there is no date and no reference. DNS over TLS on 853 shows what a modern entry looks like: domain-s, “DNS query-response protocol run over TLS”, registered on October 8, 2015, changed on April 11, 2022 and citing RFC 7858, RFC 8094 and RFC 9250.

DHCP

The IPv4 entries still carry the older protocol's name. bootps on 67 and bootpc on 68 are labelled “Bootstrap Protocol Server” and “Bootstrap Protocol Client”, and the server row cites RFC 951, published in September 1985. The word DHCP does not appear in either row. The IPv6 entries use it plainly: dhcpv6-client on 546 and dhcpv6-server on 547, both changed on May 21, 2018, the same day as dhcp-failover on 647. Between them, the DHCPv6 rows cite RFC 9915, and the server row adds RFC 5460. dhcp-failover cites RFC 8156, while its sibling dhcp-failover2 on 847 cites nothing and has only a short label, “dhcp-failover 2”. The two failover names sit 200 numbers apart, in different range pages.

NTP and SNMP

ntp on 123 cites RFC 5905, “Network Time Protocol Version 4: Protocol and Algorithms Specification”, from 2010. It has no date of its own. snmp on 161 and snmptrap on 162 cite nothing and have labels that repeat their names. They sit on consecutive numbers, and each is assigned on both TCP and UDP.

Routing

bgp on 179, “Border Gateway Protocol”, is assigned on TCP, UDP and SCTP. Its SCTP row brings a citation of RFC 9260 and a change date of February 7, 2022; the registry cites no BGP specification here. RIP is split across two numbers. Port 520 carries efs on TCP and router on UDP, two different names on one number, and the label of router mentions the routing process in a long sentence. ripng on 521 has a label that is only its own name. ldp on 646 is similarly bare.

The BFD entries are better documented. bfd-control and bfd-echo on 3784 and 3785 both cite RFC 5881, and bfd-multi-ctl on 4784 was registered in February 2006.

RFCTitlePublishedStatusLater changes
RFC 951Bootstrap ProtocolSep 1985Draft Standardupdated by RFC 1395, RFC 1497, RFC 1532, RFC 1542 and 1 more
RFC 5905Network Time Protocol Version 4: Protocol and Algorithms SpecificationJun 2010Proposed Standardupdated by RFC 7822, RFC 8573, RFC 9109, RFC 9748 and 1 more
RFC 7858Specification for DNS over Transport Layer Security (TLS)May 2016Proposed Standardupdated by RFC 8310
RFC 8094DNS over Datagram Transport Layer Security (DTLS)Feb 2017Experimental—
RFC 9250DNS over Dedicated QUIC ConnectionsMay 2022Proposed Standard—
RFC 5460DHCPv6 Bulk LeasequeryFeb 2009Proposed Standardupdated by RFC 7653
RFC 9915Dynamic Host Configuration Protocol for IPv6 (DHCPv6)Jan 2026Internet Standard—
RFC 8156DHCPv6 Failover ProtocolJun 2017Proposed Standard—
RFC 5881Bidirectional Forwarding Detection (BFD) for IPv4 and IPv6 (Single Hop)Jun 2010Proposed Standard—

Counting each group

A wider text search shows how each family spreads across the registry. The groups overlap slightly, and each counts names and labels that contain its terms.

GroupNamesNumbersSystem PortsDatedCiting an RFC
DNS1616463
DHCP and BOOTP1010614
SNMP1412326
NTP and time55312
Routing20209104

Together these groups hold 65 names, on numbers of which 25 are System Ports. A registration date appears on 20; the busiest year is 2003, with four. The largest group is Routing, with 20 names.

0242002: 120022003: 42004: 22005: 32006: 12007: 02008: 02009: 02010: 020102011: 12012: 02013: 02014: 02015: 12016: 02017: 02018: 220182019: 02020: 22021: 02022: 12023: 22024: 02025: 02026: 02026
0242002: 120022003: 42004: 22005: 32006: 12007: 02008: 02009: 02010: 02011: 12012: 02013: 02014: 02015: 12016: 02017: 02018: 22019: 02020: 22021: 02022: 12023: 22024: 02025: 02026: 02026
DNS, DHCP, SNMP, time and routing names by year of first recorded registration (20 dated entries).

Local name services

Two entries answer names on the local link rather than through a server. mdns on 5353 cites RFC 6762. llmnr on 5355, registered in June 2004, has no reference. The number between them, 5354, is mdnsresponder, “Multicast DNS Responder IPC”.

Checking a device's list

A router or switch configuration often lists numbers like these with no names. Paste them into the port list check to see the registered name for each, or look up one number in the lookup. The group rules are stated by their terms: “DNS” or “domain name”; “DHCP” or “Bootstrap Protocol”; “SNMP”; “NTP”, “network time” or “time protocol”; “routing”, “BGP”, “Border Gateway” or “RIP”. Names are matched on the same terms.

Sources. IANA Service Name and Transport Protocol Port Number Registry, updated October 27, 2026 (CC0 1.0). RFC metadata (titles, dates, status) from the RFC Editor rfc-index.xml. Counts computed by knownports.online from the registry file; definitions on the sources page.

In the tables on this page a dash (—) means the IANA registry gives no value for that field; many early assignments, for example, carry no registration date.