What is DNS (Domain Name System), and How to Change It on Windows 10

In this article, after giving brief information about the DNS protocol, we will examine how to change its IP address on the Windows 10 operating system.

How to Change DNS on Windows 10

What is DNS?

DNS is a hierarchical naming system for computers, services, or any resource connected to the Internet or a private network. This system associates various information with the domains assigned to each of the participants. Its most important function is to convert (decode) human-readable names into binary identifiers associated with networked computers, which is to find and address these computers worldwide.

DNS is a distributed and hierarchical database that stores information related to domain names on networks such as the Internet. Although DNS can associate different types of information with each name as a database, its most common uses are the assignment of domain names to IP addresses and the location of email servers in each domain.

Naming IP addresses is definitely the best-known function of DNS protocols. Besides being easier to remember, the name is more reliable. The digital address can change for many reasons without having to change the name.

In the beginning, DNS was born out of the need to easily remember the names of all servers connected to the Internet. Initially, SRI (now SRI International) hosted a file named HOSTS containing all known domain names (technically, this file still exists – most of the existing operating systems can still be configured to check the host file).

The growth of the network caused the central naming system in the hosts file to be impractical, and in 1983 Paul Mockapetris published RFC 882 and 883, which now defines what is developing into modern DNS. (These RFCs have been retired with the 1987 RFC 1034 and 1035 release).

Components

Three main components are used for the practical operation of the domain name system:

  • DNS Clients: A DNS client program that runs on the user’s computer and generates DNS name resolution requests to a DNS server.
  • DNS Servers: They respond to customer requests. Recursive servers have the ability to forward the request to another server if they do not have the desired addresses.
  • Authority Zones: Parts of the domain namespace that stores the data. Each jurisdiction covers at least one domain and possibly sub-domains if the latter is not transferred to other jurisdictions.

Understanding Parts of Domains

A domain name usually consists of two or more sections (technically labels) separated by dots when typed in text.

Each label on the left specifies a subdivision or subdomain. Note that “subdomain” refers to relative dependency, not absolute dependency. Theoretically, this subdivision can have up to 127 levels, and each tag can contain up to 63 characters, but in practice, though its domains are almost always much shorter, it is limited to the total length of the domain name that does not exceed 255 characters.

Finally, the leftmost part of the domain name usually refers to the name of the machine. The rest of the domain name specifies how to create a logical path to the required information. For example, the machine name of the domain en.wikipedia.com would be “en”, but in this case, it does not refer to a particular physical machine.

DNS consists of a hierarchical set of DNS servers. Each domain or subdomain has one or more jurisdictions that publish information about the domain and service names of any included domain. The jurisdiction hierarchy coincides with the hierarchy of fields. At the beginning of this hierarchy are root servers: servers that respond when trying to resolve a first- and second-level domain.

DNS in the Real World

Users often cannot communicate directly with the DNS server: name resolution is done transparently by client applications (for example, browsers, mail clients, and other applications that use the Internet). When making a request that requires a DNS lookup, the request is sent to the operating system’s local DNS server. The operating system checks if the answer is in the cache before communicating. If not found, the request is sent to one or more DNS servers.

Most home users use DNS provided by the internet service provider as a DNS server. The address of these servers can be configured manually or automatically using DHCP. In other cases, network administrators have their own configured DNS servers.

In both cases, the DNS servers receiving the request first check to see if they get a response in the cache. If so, they serve the answer; Otherwise, they start the search recursively. When the answer is found, the DNS server caches the result for future use and returns the result.

Hierarchy

The domain namespace has a tree structure. Leaves and tree nodes are used as media labels. The full domain name of an object consists of joining all the tags of the path. Tags are alphanumeric strings (with ‘-‘ as the only allowed symbol), they must be at least one character and up to 63 characters long and must begin with a letter (not ‘-‘). Individual labels are separated by dots. A domain name ends with a period (this last period is often neglected because it is completely formal). The correct FQDN (also known as Fully Qualified Domain Name), for example, www.example.com.

A domain name must contain all dots and must be a maximum of 255 characters long.

A domain name is always written from right to left. The dot on the far right of the domain name separates the tag from the root of the hierarchy. This first level is also known as the top-level domain (TLD).

Objects in the DNS domain (for example, computer name) are registered in a zone file on one or more name servers.

Server Types

  • Preferred: Saves namespace data in files.
  • Alternatives: Receives data from primary servers via zone transfer.
  • Local or Cache: They work with the same software but do not include the database for name resolution. When a query is made to them, they query the secondary servers and store their responses in their databases to speed up the repetition of these requests in the free or continuous future.

Software Used

  • Bind
  • PowerDNS
  • MaraDNS
  • djbdns
  • pdnsd
  • MyDNS
  • dnsmasq

Domain Name Analysis Types

There are two types of queries a client can make to a DNS server:

  1. Recursive
  2. Iterative

It consists of the best response that the name server can give in recursive queries. The name server queries its local data (including its cache) to search for the requested data.

Since iterative queries or iterative analysis does not contain information in the server’s local data, it looks for a root server and repeats the same basic process until you get the answer to the question.

When there are multiple proxy servers for a zone, Bind uses the smallest value in the RTT (round trip time) metric to select the server. RTT is a measure of the time it takes a server to respond to a query.

The normal resolution process takes place as follows:

  1. Server A receives a recursive query from the DNS client.
  2. Server A sends a recursive query to B.
  3. Server B refers to another name server, including C.
  4. Server A sends an iterative query to C.
  5. Server C refers to another name server, including D.
  6. Server A sends an iterative query to D.
  7. Server D responds.
  8. Server A returns the response during decoding.
  9. The analyzer transmits the information to the requesting program.

Record Types

A (Address): This record is used to translate hostnames to IPv4 addresses.

AAAA: This record is used to translate hostnames to IPv6 addresses.

CNAME (Canonical Name): Used to create additional hostnames or aliases for hosts in a domain. Used when multiple services (such as FTP and web server) are running on a server with a single IP address. Each service has its own DNS login (such as ftp.example.com and www.example.com). this is also used when you run multiple HTTP servers with different names on the same host.

NS (Name Server): Defines the relationship between a domain name and name servers that store information for that domain. Each domain can be associated with multiple name servers.

MX (registration) – Mail Exchange: Associates a domain name with a list of mail exchange servers for that domain.

PTR (Pointer): Also known as reverse registration, it works in the opposite direction of A registration and converts IPs to domains.

SOA: Authority start – Provides information about the region.

HINFO (Host INFOrmation): The host’s description allows people to know the machine and operating system that an area corresponds to.

TXT/TeXT – (Textual information): It allows domains to identify themselves in arbitrary ways.

LOC (LOCalization): Shows the domain’s coordinates.

WKS: Generalizing the MX record to show the services offered by the domain name. Not used in favor of SRV.

SRV (SeRVicios): Allows specifying the services provided by the domain. RFC 2782

This protocol is an acronym for Domain Name System, which stores the addresses of visited websites and converts the IP addresses into Host Names.

All websites on the Internet have an IP address. For example, when you visit sysnettechsolutions.com, this service translates the website name into an IP address and forwards it to the server.

If this protocol did not exist, websites could only access with IP addresses. Therefore, the Domain Name System technology discovered, and instead of memorizing the IP address of a website, it was easier to visit it using only the name of the website.

Today, most people are not aware of using this protocol when visiting any site. The best example is the Contacts Directory application used on mobile phones. When storing a friend’s GSM number, you also save his name and last name, and when you want to make a call to him, you will only find and search his name on your mobile phone. As a result, this protocol works like a phone book.

DNS History

The Domain Name System is known as the basis for ARPANET network systems. It was then used to communicate computers on the network. ARPANET was configuring addresses in the Hosts.txt file on the operating system and was only manually updated.

DNS was discovered in 1983 by American scientist Paul Mockapetris.

Current DNS Addresses

The most widely used server should also be preferred; Google DNS.

Google DNS Addresses8.8.8.88.8.4.4
Level3209.244.0.3209.244.0.4
Quad99.9.9.9149.112.112.112
Open DNS Addresses208.67.222.222208.67.220.220
Norton DNS Addresses198.153.192.1198.153.194.1
GTEI DNS Addresses4.2.2.14.2.2.2 / 4.2.2.3 /4.2.2.4 / 4.2.2.5 / 4.2.2.6
Yandex DNS Addresses77.88.8.177.88.8.8
UyduNet DNS Addresses 62.248.80.161 62.248.80.162
DNSAdvantage Addresses 156.154.70.1 156.154.71.1
SCRUBLT DNS Addresses 67.138.54.100 207.225.209.66

How to Change DNS Addresses on Windows PC

Changing DNS on Windows operating systems is very easy. You only need to do this by setting up the network adapter to which you connected to the Internet.

To change DNS addresses on your computer, follow the steps below in order.

   Step 1

On the Windows 10 desktop, right-click the WiFi icon, and then click Network and Sharing Center.

Ağ ve Paylaşım Merkezi

   Step 2

In the window that opens, click on your active network adapter.

WiFi Ağını Yapılandırma

   Step 3

Then the properties of your network card will open as in the following window. In this window, click the Properties button.

WiFi Tercihler

   Step 4

In the advanced settings of your network card, select TCP/IPv4 and click Properties.

TCP/IPv4 Ayarları

   Step 5

In the Internet Protocol Version 4 (TCP / IPv4) window, you can configure your DNS addresses. For example; 8.8.8.8 / 8.8.4.4 IP addresses address Google’s servers.

Alttaki Adresleri Kullan

How to Configure DNS Settings in Windows 10 using CMD

Follow the steps below to configure the domain name system addresses on your Windows computer using the CMD command prompt.

   Step 1

To see the names of the network adapters on your computer, execute “wmic nic get NetConnectionID” at the CMD prompt.

wmic nic get NetConnectionID

The network adapters listed in the following picture may be different for you. Identify the network adapter to which you connected to the Internet. For example; Wi-Fi.

wmic nic get NetConnectionID

   Step 2

After you specify the network adapter whose address you want to change, type “netsh” in the CMD and press Enter.

To type in Google addresses, execute the commands below.

netsh>interface ip set dns name="Wi-Fi" source="static" address="8.8.8.8"
netsh>interface ip add dns name="Wi-Fi" addr="8.8.4.4" index=2

Netsh Komutu

DNS Settings on ADSL Modem/Router

In the above steps, we have manually configured the network adapter on a desktop or laptop to replace existing addresses with Google addresses. Now, we will examine how to assign DNS addresses to computers that receive automatic IP addresses through the ADSL Modem.

After changing the server addresses on a Router/Modem, you must select the Automatically Obtain DNS Server Address option in the TCP/IP settings of computers on the network.

If you configure these server addresses on your device, a URL request on the local network will process with the server addresses on the device.

Follow the steps below to configure the name server settings of an ADSL modem or Router.

   Step 1

Open a web browser on your computer and type the default gateway IP address of your ADSL Modem or Router in the URL and press Enter.

Type your user name and password in the ADSL Modem’s administration panel and click Login.

TP-LINK Yönetici Arayüzü

   Step 2

Click the Network button in the TP-LINK administration panel.

TP-LINK Ağ Ayarları

   Step 3

You can see the interface to which you connected to the Internet in the WAN Settings window. Click Edit in this window.

WAN Ayarlarını Düzenleme

   Step 4

In the WAN Service Setup area, click Advanced.

Gelişmiş Ayarlar

   Step 5

After enabling the option below, type the addresses you want to use in the active text boxes and click the Save button to save the settings.

Manuel DNS Adresi Ayarları

   Video

You can watch the video below to change your computer’s name server addresses and also subscribe to our YouTube channel to support us!

   Final Word


In this article, we have discussed how to make Internet settings on a Windows 10 PC. We have also examined how it is done with the CMD command prompt. Thanks for following us!

   Related Articles


♦ How to Change System Language Windows 10
♦ How to Find Wifi Password on Windows 10
How to Enable TFTP Server on Windows 10
How to Enable DHCP on Windows 10
♦ How to Find Windows Installation Date

Add a Comment

Your email address will not be published. Required fields are marked *

You cannot copy content of this page