What Is My DNS Server and Hot To Change DNS Server For Windows, Linux?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/what-is-my-dns-server-and-hot-to-change-dns-server-for-windows-linux/
PINTEREST
PINTEREST
INSTAGRAM

Dns Servers are very important part of the internet and computer networks. When DNS servers are down we can not use internet in a easy manner. DNS servers provides domain name to IP or vice versa resolution.

Windows

Windows operating system family provides ipconfig command for general information gathering tool. ipconfig command without any parameter will show base configuration about the network of the operating system. Just issue following command into DOS command prompt. This will list all network configuration in detail with DNS related configuration.

DNS information
DNS information

There may be multiple DNS servers. In  this example our DNS server is our default router.

To set DNS server use  Control Panel

We will use network interface configuration with GUI.

Open Network and Sharing Center

Open Network and Sharing Center

 

Open Network Adapter

Click Network Adapter

Open Properties

Click Properties

Open Local Area Connection Properties

Internet Protocol Version 4

Open Internet Protocol Version

We can set from here preferred DNS Servers. Here is a list of popular DNS servers.

  • 8.8.8.8
  • 2.2.4.4
  • 2.2.2.2

Linux

Linux provides alternative ways to get DNS server and set DNS server.

The old friend resolv.conf is deprecated to edit by hand so new way to set DNS servers is resolv.conf. But we can get DNS server with cat.

Add DNS Server

We can add new DNS server to the resolv.conf with interface configuration like below.

Add related lines to the interface static IP configuration.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/what-is-my-dns-server-and-hot-to-change-dns-server-for-windows-linux/
PINTEREST
PINTEREST
INSTAGRAM
LEARN MORE  How To Download, Install Packet Tracer Into Windows?