{"id":25447,"date":"2026-12-03T21:24:47","date_gmt":"2026-12-03T13:24:47","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html"},"modified":"2026-12-03T21:24:47","modified_gmt":"2026-12-03T13:24:47","slug":"does-dns-use-tcp-or-udp","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html","title":{"rendered":"Does DNS Use TCP or UDP?"},"content":{"rendered":"<p>The Domain Name System (DNS) uses <strong>both UDP and TCP<\/strong>, operating over <strong>port 53<\/strong> for each transport protocol. Standard DNS queries default to UDP to keep lookup latency minimal and server overhead low, while DNS automatically shifts to\u2014or directly initiates\u2014TCP whenever message sizes exceed safe UDP limits, zone data must be replicated reliably, or a server needs to verify that a client&#8217;s source IP address is genuine.<\/p>\n<p>Understanding where UDP ends and TCP begins is critical for network engineers, system administrators, and security teams. Treating DNS as a strictly UDP-based protocol leads to misconfigured firewalls, intermittent lookup timeouts on modern security-hardened domains, and broken load-balancing architectures.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#When_and_Why_DNS_Uses_UDP_vs_TCP_on_Port_53\" title=\"When and Why DNS Uses UDP vs. TCP on Port 53\">When and Why DNS Uses UDP vs. TCP on Port 53<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#How_EDNS0_DNSSEC_and_Large_TXT_Records_Trigger_TCP_Fallback\" title=\"How EDNS(0), DNSSEC, and Large TXT Records Trigger TCP Fallback\">How EDNS(0), DNSSEC, and Large TXT Records Trigger TCP Fallback<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#UDP_Spoofing_Amplification_Attacks_and_TCP_Handshake_Mitigation\" title=\"UDP Spoofing, Amplification Attacks, and TCP Handshake Mitigation\">UDP Spoofing, Amplification Attacks, and TCP Handshake Mitigation<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#IETF_RFC_Specifications_for_DNS_over_UDP_and_TCP\" title=\"IETF RFC Specifications for DNS over UDP and TCP\">IETF RFC Specifications for DNS over UDP and TCP<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#Do_Encrypted_DNS_Protocols_DoT_DoH_and_DoQ_Use_TCP_or_UDP\" title=\"Do Encrypted DNS Protocols (DoT, DoH, and DoQ) Use TCP or UDP?\">Do Encrypted DNS Protocols (DoT, DoH, and DoQ) Use TCP or UDP?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#Firewall_Rules_for_Port_53_Should_You_Allow_Both_TCP_and_UDP\" title=\"Firewall Rules for Port 53: Should You Allow Both TCP and UDP?\">Firewall Rules for Port 53: Should You Allow Both TCP and UDP?<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#Must_network_and_host_firewalls_allow_both_UDP_and_TCP_on_port_53\" title=\"Must network and host firewalls allow both UDP and TCP on port 53?\">Must network and host firewalls allow both UDP and TCP on port 53?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#What_breaks_if_TCP_port_53_is_blocked_while_UDP_port_53_is_open\" title=\"What breaks if TCP port 53 is blocked while UDP port 53 is open?\">What breaks if TCP port 53 is blocked while UDP port 53 is open?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#How_should_inbound_and_outbound_port_53_rules_be_scoped_by_system_role\" title=\"How should inbound and outbound port 53 rules be scoped by system role?\">How should inbound and outbound port 53 rules be scoped by system role?<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#How_to_Test_DNS_Over_TCP_vs_UDP_from_the_Command_Line\" title=\"How to Test DNS Over TCP vs. UDP from the Command Line\">How to Test DNS Over TCP vs. UDP from the Command Line<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#Best_Load_Balancers_for_Mixed_TCP_and_UDP_Port_53_Traffic\" title=\"Best Load Balancers for Mixed TCP and UDP Port 53 Traffic\">Best Load Balancers for Mixed TCP and UDP Port 53 Traffic<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"When_and_Why_DNS_Uses_UDP_vs_TCP_on_Port_53\"><\/span>When and Why DNS Uses UDP vs. TCP on Port 53<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Classic DNS relies on a dual-transport model on port 53, selecting the protocol based on the transaction&#8217;s size, statefulness, and reliability requirements. The workflow follows a predictable progression:<\/p>\n<ol>\n<li>\n<p><strong>Defaulting to UDP for Fast, Stateless Lookups<\/strong><br \/>\n   A typical hostname lookup is a short, self-contained exchange: one small request packet and one small response packet. Over UDP, a recursive resolver sends a query to port 53 and receives an answer in a single round-trip time (1 RTT) totaling just two packets. Because UDP is connectionless, DNS servers avoid the latency of a TCP three-way handshake (<code>SYN<\/code>, <code>SYN-ACK<\/code>, <code>ACK<\/code>) and do not have to allocate kernel memory to track millions of concurrent client connection states.<\/p>\n<\/li>\n<li>\n<p><strong>Detecting Truncation (<code>TC=1<\/code>) on Oversized Replies<\/strong><br \/>\n   When an authoritative server or recursive resolver assembles a DNS response that exceeds the allowed UDP payload ceiling, it cannot safely send the full answer in one UDP datagram. Instead, the server sets the <strong>Truncated (<code>TC<\/code>) flag<\/strong> (<code>TC=1<\/code>) in the 12-byte DNS header and returns a partial or empty UDP response to signal that the complete record set requires a stream-oriented transport.<\/p>\n<\/li>\n<li>\n<p><strong>Retrying Over TCP to Retrieve the Full Payload<\/strong><br \/>\n   Upon receiving a response with <code>TC=1<\/code>, a compliant DNS client discards the incomplete UDP answer, opens a TCP connection to port 53 on the same server, and re-issues the query. DNS over TCP prepends a two-byte (16-bit) length field to every message, allowing responses up to <strong>65,535 bytes<\/strong> while guaranteeing ordered, lossless delivery via TCP acknowledgments and retransmission.<\/p>\n<\/li>\n<li>\n<p><strong>Starting Directly on TCP for Zone Transfers and Stateful Sessions<\/strong><br \/>\n   Certain operations bypass UDP altogether and initiate TCP immediately:<\/p>\n<\/li>\n<li><strong>Zone Transfers (<code>AXFR<\/code> and <code>IXFR<\/code>)<\/strong>: Replicating full (<code>AXFR<\/code>) or incremental (<code>IXFR<\/code>) DNS zone files between primary and secondary authoritative servers requires guaranteed integrity across potentially megabytes of record data, making TCP mandatory.<\/li>\n<li><strong>Persistent Pipelined Resolvers<\/strong>: Stub or forwarding resolvers configured with DNS Stateful Operations (DSO) or persistent TCP connection pools send queries straight over established TCP streams to amortize handshake costs across thousands of lookups.<\/li>\n<\/ol>\n<p>While UDP keeps everyday browsing snappy, TCP acts as the mandatory safety net that ensures large or mission-critical DNS transactions never fail due to datagram constraints.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_EDNS0_DNSSEC_and_Large_TXT_Records_Trigger_TCP_Fallback\"><\/span>How EDNS(0), DNSSEC, and Large TXT Records Trigger TCP Fallback<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The truncation fallback described above used to be rare, but modern DNS extensions and bloated resource records now push routine queries onto TCP every day. How often a lookup crosses that threshold depends on four sequential protocol factors:<\/p>\n<ol>\n<li>\n<p><strong>The Legacy 512-Byte UDP Ceiling<\/strong><br \/>\n   Early DNS specifications restricted UDP messages to <strong>512 bytes<\/strong> so packets would fit inside the 576-byte minimum IPv4 reassembly buffer of 1980s routers without fragmenting. Any response larger than 512 bytes immediately triggered <code>TC=1<\/code> and a TCP retry.<\/p>\n<\/li>\n<li>\n<p><strong>EDNS(0) Buffer Size Negotiation<\/strong><br \/>\n   To reduce TCP fallbacks as IPv6 (<code>AAAA<\/code>) records and larger zones emerged, <strong>Extension Mechanisms for DNS (<code>EDNS(0)<\/code>)<\/strong> introduced an <code>OPT<\/code> pseudo-record in the DNS Additional section. Clients use the <code>OPT<\/code> record&#8217;s class field to advertise a larger UDP receive buffer\u2014historically up to <strong>4,096 bytes<\/strong>\u2014and the responder caps its UDP reply at the smaller of the two endpoints&#8217; advertised buffers.<\/p>\n<\/li>\n<li>\n<p><strong>IP Fragmentation Hazards and the 1,232-Byte Consensus<\/strong><br \/>\n   Sending 4,096-byte UDP datagrams across networks with a standard 1,500-byte Ethernet MTU (or the 1,280-byte IPv6 minimum MTU) forces routers or hosts to split the reply into <strong>IP fragments<\/strong>. Stateful firewalls and NAT gateways frequently drop fragmented UDP packets\u2014causing slow timeouts instead of clean TCP retries\u2014and predictable fragment IDs expose resolvers to cache-poisoning attacks. Following the 2020 DNS Flag Day operational consensus, major implementations (BIND, Unbound, PowerDNS, and Knot DNS) standardized default EDNS(0) UDP buffers at <strong>1,232 bytes<\/strong> (1,280-byte minimum IPv6 MTU minus a 40-byte IPv6 header and an 8-byte UDP header) to prevent fragmentation entirely.<\/p>\n<\/li>\n<li>\n<p><strong>Payload Inflation from DNSSEC and Stacked <code>TXT<\/code> Records<\/strong><br \/>\n   With safe UDP payloads constrained to 1,232 bytes, modern DNS responses cross the ceiling routinely:<\/p>\n<\/li>\n<li><strong>DNSSEC<\/strong>: Cryptographic signatures (<code>RRSIG<\/code>), public key sets (<code>DNSKEY<\/code>), and authenticated denial-of-existence records (<code>NSEC<\/code>\/<code>NSEC3<\/code>) add hundreds or thousands of bytes to standard answers.<\/li>\n<li><strong>Apex <code>TXT<\/code> Sprawl<\/strong>: Organizations routinely stack <code>SPF<\/code> mail policies, <code>DKIM<\/code> keys, and multiple SaaS domain-verification tokens (<code>TXT<\/code> records for Google, Microsoft, Atlassian, and security scanners) at their root domain, easily exceeding 1,232 bytes and forcing <code>TC=1<\/code> retries over TCP.<\/li>\n<\/ol>\n<p>Keeping EDNS(0) buffers around 1,232 bytes eliminates fragile UDP fragmentation on the wire, intentionally shifting oversized DNSSEC and <code>TXT<\/code> answers onto reliable TCP streams.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"UDP_Spoofing_Amplification_Attacks_and_TCP_Handshake_Mitigation\"><\/span>UDP Spoofing, Amplification Attacks, and TCP Handshake Mitigation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Beyond packet size limits, DNS servers also leverage TCP as an active defense against network-layer abuse made possible by UDP&#8217;s statelessness.<\/p>\n<ol>\n<li>\n<p><strong>Source IP Spoofing Over Connectionless UDP<\/strong><br \/>\n   Because UDP lacks a session setup phase, a DNS server receiving a UDP packet on port 53 has no cryptographic or state-based proof that the source IP address in the packet header actually sent the query. Attackers exploit this by forging a target victim&#8217;s IP address as the source and flooding open resolvers or authoritative servers with spoofed queries.<\/p>\n<\/li>\n<li>\n<p><strong>Reflection and Bandwidth Amplification<\/strong><br \/>\n   When an attacker pairs spoofed UDP queries with <code>EDNS(0)<\/code> and queries records carrying large DNSSEC or <code>TXT<\/code> payloads, a 60-byte forged request can elicit a 1,232- to 4,000-byte UDP reply sent directly to the victim. Multiplied across thousands of servers, this reflection technique amplifies attack bandwidth by 20x to 60x+.<\/p>\n<\/li>\n<li>\n<p><strong>Response Rate Limiting (RRL) and <code>TC=1<\/code> Slip<\/strong><br \/>\n   Dropping all high-rate UDP queries outright risks blackholing legitimate users sitting behind large carrier-grade NATs or enterprise proxies. Instead, authoritative servers deploy <strong>Response Rate Limiting (RRL)<\/strong> configured with a <strong><code>slip<\/code> ratio<\/strong> (commonly <code>slip 2<\/code>). Rather than sending full answers or dropping every rate-limited packet silently, the server responds to every $N$th rate-limited query with a tiny UDP header carrying the <code>TC=1<\/code> flag and zero answer payload\u2014eliminating any amplification factor.<\/p>\n<\/li>\n<li>\n<p><strong>Proving Client Authenticity via the TCP Handshake<\/strong><br \/>\n   When a spoofed victim IP receives an unsolicited <code>TC=1<\/code> packet, it ignores it, ending the exchange cleanly. When a genuine recursive resolver receives <code>TC=1<\/code>, it initiates a TCP three-way handshake (<code>SYN<\/code> \u2192 <code>SYN-ACK<\/code> \u2192 <code>ACK<\/code>). Completing that handshake requires echoing randomized TCP sequence numbers, proving the client controls its source IP address before the DNS server transmits the full response.<\/p>\n<\/li>\n<\/ol>\n<p>By selectively forcing suspicious UDP traffic onto TCP, operators neutralize spoofed amplification floods while preserving uninterrupted resolution for real clients.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"IETF_RFC_Specifications_for_DNS_over_UDP_and_TCP\"><\/span>IETF RFC Specifications for DNS over UDP and TCP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The transport behaviors, fallback mechanics, and network mandates described above are formally standardized across five core Internet Engineering Task Force (IETF) documents:<\/p>\n<ul>\n<li><strong>RFC 1035 (<em>Domain Names \u2014 Implementation and Specification<\/em>, Section 4.2)<\/strong>: Defines the baseline protocol architecture for DNS over UDP (Section 4.2.1) and TCP (Section 4.2.2) on port 53. Establishes the legacy 512-byte UDP payload limit, the <code>TC<\/code> header bit, and the mandatory two-octet length field framing DNS messages over TCP streams.<\/li>\n<li><strong>RFC 1123 (<em>Requirements for Internet Hosts \u2014 Application and Support<\/em>, Section 6.1.3.2)<\/strong>: Establishes early host compliance rules, requiring all DNS resolvers and servers to support UDP queries, mandating TCP for zone transfers, and recommending (&#8220;SHOULD&#8221;) TCP support for truncated standard queries.<\/li>\n<li><strong>RFC 7766 (<em>DNS Transport over TCP \u2014 Implementation Requirements<\/em>)<\/strong>: Obsoletes RFC 5966 and formally updates RFC 1035 and RFC 1123. Upgrades DNS-over-TCP support from optional (&#8220;SHOULD&#8221;) to <strong>mandatory (&#8220;MUST&#8221;)<\/strong> for all compliant recursive resolvers and authoritative name servers. Defines persistent TCP connection reuse, in-flight query pipelining, and out-of-order response processing.<\/li>\n<li><strong>RFC 7828 (<em>The edns-tcp-keepalive EDNS0 Option<\/em>)<\/strong>: Specifies the <code>edns-tcp-keepalive<\/code> option code, enabling DNS clients and servers to negotiate dynamic idle timeouts on persistent TCP connections and avoid premature socket teardown.<\/li>\n<li><strong>RFC 9210 (<em>DNS Transport over TCP \u2014 Operational Requirements<\/em>, BCP 235)<\/strong>: Codifies Best Current Practice for network operators, mandating that enterprise networks, ISPs, firewalls, and middleboxes permit DNS traffic over both UDP and TCP on port 53 without arbitrary TCP filtering.<\/li>\n<\/ul>\n<p>Under current IETF standards, any DNS software implementation or network path that blocks or omits TCP port 53 is officially non-compliant.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Do_Encrypted_DNS_Protocols_DoT_DoH_and_DoQ_Use_TCP_or_UDP\"><\/span>Do Encrypted DNS Protocols (DoT, DoH, and DoQ) Use TCP or UDP?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While RFC 7766 and RFC 9210 govern classic plaintext DNS on port 53 (often called Do53), modern encrypted DNS standards redesign transport selection altogether to provide confidentiality and integrity. Notice how recent standards have evolved from TCP-based TLS wrappers back toward UDP via QUIC:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Protocol<\/th>\n<th style=\"text-align: left;\">Transport Layer<\/th>\n<th style=\"text-align: left;\">Default Port<\/th>\n<th style=\"text-align: left;\">IETF Standard<\/th>\n<th style=\"text-align: left;\">Connection &amp; Latency Behavior<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Classic DNS (Do53)<\/strong><\/td>\n<td style=\"text-align: left;\">UDP (default) &amp; TCP (fallback \/ <code>AXFR<\/code>)<\/td>\n<td style=\"text-align: left;\"><code>53<\/code><\/td>\n<td style=\"text-align: left;\">RFC 1035 \/ RFC 7766<\/td>\n<td style=\"text-align: left;\">Stateless 1-RTT lookups over UDP; switches to stateful TCP streams on <code>TC=1<\/code> or zone transfers.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DNS over TLS (DoT)<\/strong><\/td>\n<td style=\"text-align: left;\">TCP only<\/td>\n<td style=\"text-align: left;\"><code>853<\/code><\/td>\n<td style=\"text-align: left;\">RFC 7858<\/td>\n<td style=\"text-align: left;\">Wraps DNS streams in TLS 1.2\/1.3 over dedicated TCP port 853; requires connection reuse to offset handshake cost and suffers from TCP head-of-line blocking on packet loss.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DNS over HTTPS (DoH \u2014 HTTP\/2)<\/strong><\/td>\n<td style=\"text-align: left;\">TCP<\/td>\n<td style=\"text-align: left;\"><code>443<\/code><\/td>\n<td style=\"text-align: left;\">RFC 8484<\/td>\n<td style=\"text-align: left;\">Tunnels DNS queries inside standard HTTPS over TCP; blends with web traffic through restrictive firewalls while sharing HTTP\/2&#8217;s TCP-level head-of-line blocking limitation.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DNS over HTTPS (DoH \u2014 HTTP\/3)<\/strong><\/td>\n<td style=\"text-align: left;\">UDP (via QUIC)<\/td>\n<td style=\"text-align: left;\"><code>443<\/code><\/td>\n<td style=\"text-align: left;\">RFC 8484 \/ RFC 9114<\/td>\n<td style=\"text-align: left;\">Runs HTTPS over QUIC datagrams on UDP; supports 0-RTT\/1-RTT encrypted session resumption and independent stream multiplexing without head-of-line blocking.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DNS over QUIC (DoQ)<\/strong><\/td>\n<td style=\"text-align: left;\">UDP (via QUIC)<\/td>\n<td style=\"text-align: left;\"><code>853<\/code><\/td>\n<td style=\"text-align: left;\">RFC 9250<\/td>\n<td style=\"text-align: left;\">Runs DNS directly over QUIC on UDP without HTTP framing overhead; pairs UDP low latency with built-in TLS 1.3 encryption, anti-spoofing address validation tokens, and arbitrary payload sizes.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>QUIC-based protocols (DoQ and HTTP\/3 DoH) effectively resolve DNS&#8217;s forty-year TCP-versus-UDP trade-off by delivering encryption, spoofing resistance, and large-message streaming directly atop UDP.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Firewall_Rules_for_Port_53_Should_You_Allow_Both_TCP_and_UDP\"><\/span>Firewall Rules for Port 53: Should You Allow Both TCP and UDP?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Even as encrypted DNS grows on ports 443 and 853, port 53 remains the backbone of internal enterprise networks, server-to-resolver communication, and public authoritative zones. Misconfigured port 53 firewall rules remain one of the most common causes of phantom network outages.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Must_network_and_host_firewalls_allow_both_UDP_and_TCP_on_port_53\"><\/span>Must network and host firewalls allow both UDP and TCP on port 53?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. A persistent legacy myth claims that UDP port 53 handles all DNS lookups while TCP port 53 is only needed for authoritative zone transfers (<code>AXFR<\/code>). In reality, anywhere plaintext DNS queries are permitted, <strong>both <code>UDP\/53<\/code> and <code>TCP\/53<\/code> must be open<\/strong> in matching directions, as required by RFC 9210.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_breaks_if_TCP_port_53_is_blocked_while_UDP_port_53_is_open\"><\/span>What breaks if TCP port 53 is blocked while UDP port 53 is open?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Blocking TCP port 53 causes deceptive, intermittent resolution failures rather than a clean outage. Routine <code>A<\/code> and <code>AAAA<\/code> queries with compact replies continue to work over UDP, leading administrators to assume DNS is healthy. Meanwhile, queries returning large payloads\u2014such as DNSSEC-signed government or banking domains, CDN record sets, or large <code>TXT<\/code>\/<code>SPF<\/code>\/<code>DKIM<\/code> lookups performed by mail gateways\u2014receive <code>TC=1<\/code> over UDP, attempt to retry on TCP port 53, hit the firewall block, and hang until the application times out.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_should_inbound_and_outbound_port_53_rules_be_scoped_by_system_role\"><\/span>How should inbound and outbound port 53 rules be scoped by system role?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Workstations and Application Servers (Stub Clients)<\/strong>: Permit <strong>outbound <code>UDP\/53<\/code> and <code>TCP\/53<\/code> exclusively to approved internal DNS resolvers<\/strong>, and block direct outbound port 53 to the internet to prevent malware DNS tunneling and enforce split-horizon policies. Deny all inbound port 53.<\/li>\n<li><strong>Internal Recursive Resolvers<\/strong>: Permit <strong>inbound <code>UDP\/53<\/code> and <code>TCP\/53<\/code><\/strong> from internal client subnets. Permit <strong>outbound <code>UDP\/53<\/code> and <code>TCP\/53<\/code><\/strong> to <code>0.0.0.0\/0<\/code> and <code>::\/0<\/code> (if performing root\/iterative resolution) or strictly to designated upstream forwarders.<\/li>\n<li><strong>Public Authoritative Name Servers<\/strong>: Permit <strong>inbound <code>UDP\/53<\/code> and <code>TCP\/53<\/code><\/strong> from the entire internet (<code>0.0.0.0\/0<\/code> and <code>::\/0<\/code>) so external resolvers can complete truncated retries. Never block TCP 53 at the perimeter firewall to protect zone data; instead, <strong>lock down <code>AXFR<\/code>\/<code>IXFR<\/code> inside the DNS server configuration<\/strong> using strict secondary IP access control lists (ACLs) and cryptographic <strong>TSIG<\/strong> keys.<\/li>\n<\/ul>\n<p>Treating UDP 53 and TCP 53 as an inseparable pair in firewall policy\u2014while delegating zone-transfer access control to TSIG and daemon ACLs\u2014prevents hard-to-diagnose lookup timeouts.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Test_DNS_Over_TCP_vs_UDP_from_the_Command_Line\"><\/span>How to Test DNS Over TCP vs. UDP from the Command Line<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After applying firewall rules or deploying a DNS server, verify both transports independently from the command line. Note that <code>dig<\/code> automatically retries truncated UDP replies over TCP unless explicitly instructed otherwise with <code>+ignore<\/code>.<\/p>\n<pre><code class=\"language-bash\"># --- dig (Linux \/ macOS \/ BIND Utilities) ---\n\n# Explicitly force a DNS query over TCP (+tcp or +vc)\ndig @&lt;DNS_SERVER_IP&gt; &lt;DOMAIN&gt; TXT +tcp\n\n# Explicitly test UDP only and suppress automatic TCP retry on truncation\ndig @&lt;DNS_SERVER_IP&gt; &lt;DOMAIN&gt; TXT +notcp +ignore\n\n# Force a small EDNS0 buffer (512 bytes) over UDP to verify TC=1 flag behavior\ndig @&lt;DNS_SERVER_IP&gt; &lt;DOMAIN&gt; DNSKEY +bufsize=512 +notcp +ignore\n<\/code><\/pre>\n<pre><code class=\"language-cmd\">:: --- nslookup (Windows \/ Linux \/ macOS) ---\n\n:: Force TCP (virtual circuit) for a single lookup\nnslookup -vc -type=TXT &lt;DOMAIN&gt; &lt;DNS_SERVER_IP&gt;\n\n:: Explicitly query over UDP (no virtual circuit)\nnslookup -novc -type=A &lt;DOMAIN&gt; &lt;DNS_SERVER_IP&gt;\n<\/code><\/pre>\n<pre><code class=\"language-powershell\"># --- PowerShell (Windows) ---\n\n# Force DNS resolution strictly over TCP\nResolve-DnsName -Name &lt;DOMAIN&gt; -Server &lt;DNS_SERVER_IP&gt; -Type TXT -TcpOnly\n\n# Default lookup (attempts UDP first; falls back to TCP automatically on TC=1)\nResolve-DnsName -Name &lt;DOMAIN&gt; -Server &lt;DNS_SERVER_IP&gt; -Type A\n<\/code><\/pre>\n<p>When inspecting <code>dig<\/code> output, confirm the active transport in the <code>SERVER<\/code> footer line (<code>(TCP)<\/code> vs. <code>(UDP)<\/code>) and check the <code>flags:<\/code> line in the header for <code>tc<\/code> when testing UDP truncation limits.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Best_Load_Balancers_for_Mixed_TCP_and_UDP_Port_53_Traffic\"><\/span>Best Load Balancers for Mixed TCP and UDP Port 53 Traffic<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once both protocols are verified, production DNS deployments must distribute traffic across redundant backend servers. Standard HTTP\/Layer-7 application load balancers cannot handle plaintext DNS, and many basic Layer-4 proxies struggle to bind both <code>UDP\/53<\/code> and <code>TCP\/53<\/code> to the same virtual IP (VIP). The following load balancers are purpose-built or proven for dual-protocol port 53 workloads:<\/p>\n<ol>\n<li>\n<p><strong>PowerDNS <code>dnsdist<\/code><\/strong><br \/>\n   A purpose-built, DNS-aware Layer-7 load balancer engineered specifically to handle concurrent UDP and TCP port 53 traffic alongside DoT, DoH, and DoQ. <code>dnsdist<\/code> parses DNS headers at wire speed, enforces per-client rate limiting and <code>TC=1<\/code> slip policies, caches responses in memory, and routes queries dynamically by domain name or query type.<\/p>\n<\/li>\n<li>\n<p><strong>NGINX (<code>ngx_stream_core_module<\/code>)<\/strong><br \/>\n   Supports simultaneous Layer-4 TCP and UDP load balancing on a shared IP by pairing <code>listen 53;<\/code> and <code>listen 53 udp;<\/code> directives pointing to upstream server pools. It is a strong fit for infrastructure teams already standardized on NGINX that need reliable active health checks and least-connections balancing without deep DNS packet scripting.<\/p>\n<\/li>\n<li>\n<p><strong>AWS Network Load Balancer (NLB)<\/strong><br \/>\n   Provides a native <strong><code>TCP_UDP<\/code> listener protocol<\/strong> built specifically for cloud DNS architectures. A single static IP per Availability Zone accepts both UDP and TCP port 53 queries simultaneously and forwards them to a unified target group with ultra-low latency and client source IP preservation.<\/p>\n<\/li>\n<li>\n<p><strong>Linux IPVS \/ Keepalived (LVS)<\/strong><br \/>\n   Operates directly inside the Linux kernel to load-balance both <code>UDP\/53<\/code> and <code>TCP\/53<\/code> on a shared Anycast or local VIP. Supporting Direct Server Return (DSR), IPVS allows large DNSSEC or TCP responses from backend resolvers to return directly to clients without bottlenecking the load balancer node.<\/p>\n<\/li>\n<li>\n<p><strong>Envoy Proxy<\/strong><br \/>\n   Combines concurrent UDP listener pipelines, TCP proxy listeners, and an extensible Layer-7 DNS filter. Envoy suits cloud-native and Kubernetes environments that want unified Prometheus telemetry and dynamic service-discovery integration across mixed DNS transports.<\/p>\n<\/li>\n<\/ol>\n<p>Choosing a load balancer capable of sharing a single VIP across both UDP and TCP listeners ensures TCP retries land seamlessly on the exact same service endpoint as initial UDP queries.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>DNS is neither exclusively a UDP protocol nor exclusively a TCP protocol\u2014it is a dual-transport system designed to extract the best traits from each. UDP handles the vast majority of routine lookups on port 53 in a single stateless round-trip, while TCP steps in seamlessly whenever responses outgrow safe 1,232-byte unfragmented UDP buffers, zone transfers demand lossless replication, or RRL defenses challenge suspected IP spoofers. Meanwhile, modern encrypted protocols like DoQ and HTTP\/3 DoH are bringing those worlds together by layering reliable, encrypted streaming over UDP via QUIC. Whether you are writing firewall policies, debugging <code>TC=1<\/code> retries with <code>dig +tcp<\/code>, or deploying port 53 load balancers, treating UDP and TCP as equal, mandatory halves of DNS is essential for fast and resilient name resolution.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fdoes-dns-use-tcp-or-udp_25447.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=Does+DNS+Use+TCP+or+UDP%3F+https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\",\"Does DNS Use TCP or UDP?\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The Domain Name System (DNS) uses both UDP and TCP, operating over port 53 for each transport protocol. Standard DNS queries default to UDP to keep lookup latency minimal and server overhead low, while DNS automatically shifts to\u2014or directly initiates\u2014TCP whenever message sizes exceed safe UDP limits, zone data must be replicated reliably, or a&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":25446,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1285],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Does DNS Use TCP or UDP? - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Does DNS Use TCP or UDP? - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"The Domain Name System (DNS) uses both UDP and TCP, operating over port 53 for each transport protocol. Standard DNS queries default to UDP to keep lookup latency minimal and server overhead low, while DNS automatically shifts to\u2014or directly initiates\u2014TCP whenever message sizes exceed safe UDP limits, zone data must be replicated reliably, or a... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-12-03T13:24:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png\",\"width\":1024,\"height\":768,\"caption\":\"Does DNS Use TCP or UDP?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\",\"name\":\"Does DNS Use TCP or UDP? - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage\"},\"datePublished\":\"2026-12-03T13:24:47+00:00\",\"dateModified\":\"2026-12-03T13:24:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Does DNS Use TCP or UDP?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"Does DNS Use TCP or UDP?\",\"datePublished\":\"2026-12-03T13:24:47+00:00\",\"dateModified\":\"2026-12-03T13:24:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage\"},\"wordCount\":2434,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"image\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png\",\"articleSection\":[\"Routing &amp; Switching\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Does DNS Use TCP or UDP? - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html","og_locale":"en_US","og_type":"article","og_title":"Does DNS Use TCP or UDP? - SPOTO Official Blog","og_description":"The Domain Name System (DNS) uses both UDP and TCP, operating over port 53 for each transport protocol. Standard DNS queries default to UDP to keep lookup latency minimal and server overhead low, while DNS automatically shifts to\u2014or directly initiates\u2014TCP whenever message sizes exceed safe UDP limits, zone data must be replicated reliably, or a... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-12-03T13:24:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png","width":1024,"height":768,"caption":"Does DNS Use TCP or UDP?"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html","name":"Does DNS Use TCP or UDP? - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage"},"datePublished":"2026-12-03T13:24:47+00:00","dateModified":"2026-12-03T13:24:47+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"Does DNS Use TCP or UDP?"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"Does DNS Use TCP or UDP?","datePublished":"2026-12-03T13:24:47+00:00","dateModified":"2026-12-03T13:24:47+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#webpage"},"wordCount":2434,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"image":{"@id":"https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#primaryimage"},"thumbnailUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/12\/does-dns-use-tcp-or-udp.png","articleSection":["Routing &amp; Switching"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/does-dns-use-tcp-or-udp_25447.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795769814","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25447"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=25447"}],"version-history":[{"count":0,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25447\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media\/25446"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=25447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=25447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=25447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}