Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Network | Monitoring » DNS uses TCP and UDP
  • Syncing Files  and photos with Synology Drive
    Sync file and photos from iOS and Mac with Synology Drive Backup
  • powershell commands lede 1024x276 1
    PowerShell Remoting: Guide to Windows Management Instrumentation Scripts
  • ext
    The DriveLock server returned an invalid or unrecognized response Security | Vulnerability Scans and Assessment
  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation
  • banner 4
    How to Install Windows on VMware Workstation Windows
  • Telegram
    Integrate a WordPress site with WP Telegram Network | Monitoring
  • ansible business cards 1600x0 c default
    Kerberos error: Clock skew too great while getting initial credentials Windows Server
  • windows1019h2
    Synchronize your Domain Controller with an external time source Windows Server

DNS uses TCP and UDP

Posted on 17/04/202307/12/2023 Imoh Etuk By Imoh Etuk No Comments on DNS uses TCP and UDP
DNS

In this post, I explain why some services use both the protocols TCP and UDP. DNS which is one such service stands for Domain Name System. It is a decentralized naming system for computers, services, or any resource connected to the internet or a private network. DNS translates a human-readable domain name such as www.techdirectarchive.com into IP addresses such as 192.0.2.1. In this article, you will learn how DNS uses TCP and UDP. Here is a guide on Domain Name System Protocol: Client Registration Issue.

This enables computers to identify one another on the internet, like 192.0.2.1. Please see how to Hide Folders / Files from Search Results in Windows 10 and Windows 11. Domain Name System: How to create a DNS record, and How to Create a Linux Virtual Machine Via Azure CLI, Install an Nginx Web-Server and Configure TCP Port.

Does DNS use TCP and UDP?

On the question of whether DNS uses TCP and UDP. The answer is yes, DNS work on both TCP (Transmission Control Protocol) and UDP (User Datagram Protocol). The DNS (Domain Name System) is one such example.

Other services that work on both TCP and UDP include DHCP (Dynamic Host Configuration Protocol), SNMP (Simple Network Management Protocol), and TFTP (Trivial File Transfer Protocol). Please see DNS: Unable to register a client to Domain. Also, see Active Directory Ports: Service and network port requirements for Windows.

The domain name to IP address mappings is kept up to date in a distributed database by DNS. A user’s web browser sends a DNS query to a DNS server when they input a domain name to get the IP address connected to the domain name.

The IP address is provided to the browser so that it can connect to the server hosting the website if the DNS server has the mapping stored in its database. Read how to set up a third-party DNS server on a Linux Server.

DNS is a critical component of the internet infrastructure. It is responsible for ensuring that users can access websites and other internet resources using human-readable domain names.

The A-Z of Domain Name System: All you need to know about DNS is a great post you might also be interested in reading about. DNS Bad key 9017: The Cluster Name registration failed of one or more associated DNS names

How DNS Works on TCP and UDP?

When a client sends a DNS query to a DNS server, it can use either TCP or UDP as the transport protocol. The choice of transport protocol depends on the size of the DNS response that is expected. If the DNS response is expected to be larger than the maximum size of a UDP packet (which is 512 bytes), then the client will use TCP as the transport protocol. Otherwise, the client will use UDP. DNS inquiries can be ordinary (primary) or reverse, using TCP for zone transfer and UDP for names. While TCP is required to share data greater than 512 bytes, UDP can be used to exchange fewer data.

How to Specify DNS server ports in LAN TCP/IP settings on Windows?

To specify a DNS server port other than port 53 in the LAN TCP/IP settings on Windows, follow the below steps:

Step 1: Navigate to the Control Panel and click on Network and Sharing Center

network-and-sharing-center
Configuring DNS Port

Step 2: Click on Change adapter settings

change-adapter-settings
Changing Adapter Settings

Step 3: Right-click on the adapter that you want to configure and select “Properties”

You can also learn about how to activate DNS over TLS in Windows 11, and Linux Virtual Machine via Azure CLI: Nginx TCP Port Setup.

network-settings
Wi-Fi Properties

Step 4: Double-click on Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) if you’re using IPv6 to open the properties dialog box.

Wi-Fi-Properties
IPv4 Properties

Then, provide the DNS server’s IP address and port number by choosing the Use the following DNS server addresses option.

If the DNS server’s IP address is the Google Public DNS IP addresses 8.8.8.8 and its port number is 54, for instance, you would type 8.8.8.8:54 in the Preferred DNS server section.

IPV4 properties
IPV4 properties

When you’re done, click OK to save the changes. Also, see how to Pull and Deploy Nginx Container Images from Docker Hub.

Be aware that if your router also serves as a DNS server, you might need to make similar adjustments to its settings.

Furthermore, it’s crucial to remember that port 53 is the default port for DNS. Using a different port for DNS could cause problems with specific programs or services.

I hope you found this blog post helpful. Please let me know in the comment section if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Network | Monitoring

Post navigation

Previous Post: Restrict IP Address Range on Windows PC
Next Post: How to fix Windows Task Scheduler 0x2 Error

Related Posts

  • gitlab56789iuj
    Error unregistering Runner from GitLab: Forbidden with Docker Executor Network | Monitoring
  • Remote desktop connection over udp and tcp
    Remote Desktop Connection behaviour over UDP and TCP Network | Monitoring
  • Watchguard Firewall 180504 100511 1
    Reset an XTM Firebox Device: Easy Guide Network | Monitoring
  • 71PSZcv0RL. AC SX425
    How to disable unused Cisco Access Ports Network | Monitoring
  • Hyper V Virtual Switch
    How to Create Hyper-V Virtual Switch Network | Monitoring
  • Microaoft Edge
    Bing AI-Powered Copilot: How to install Microsoft Edge on macOS Network | Monitoring

More Related Articles

gitlab56789iuj Error unregistering Runner from GitLab: Forbidden with Docker Executor Network | Monitoring
Remote desktop connection over udp and tcp Remote Desktop Connection behaviour over UDP and TCP Network | Monitoring
Watchguard Firewall 180504 100511 1 Reset an XTM Firebox Device: Easy Guide Network | Monitoring
71PSZcv0RL. AC SX425 How to disable unused Cisco Access Ports Network | Monitoring
Hyper V Virtual Switch How to Create Hyper-V Virtual Switch Network | Monitoring
Microaoft Edge Bing AI-Powered Copilot: How to install Microsoft Edge on macOS Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • Syncing Files  and photos with Synology Drive
    Sync file and photos from iOS and Mac with Synology Drive Backup
  • powershell commands lede 1024x276 1
    PowerShell Remoting: Guide to Windows Management Instrumentation Scripts
  • ext
    The DriveLock server returned an invalid or unrecognized response Security | Vulnerability Scans and Assessment
  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation
  • banner 4
    How to Install Windows on VMware Workstation Windows
  • Telegram
    Integrate a WordPress site with WP Telegram Network | Monitoring
  • ansible business cards 1600x0 c default
    Kerberos error: Clock skew too great while getting initial credentials Windows Server
  • windows1019h2
    Synchronize your Domain Controller with an external time source Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.