What Is My Dns Server?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/what-is-my-dns-server/
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.

Step-1

Open Network and Sharing Center

 

Step-2

Click Network Adapter

Step-3

Click Properties

Step-4

Internet Protocol Version 4

Step-5

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/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  How Change Run Levels In Linux?

You may also like...

1 Response

  1. 21/03/2017

    […] What Is My Dns Server? […]

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)