Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Domain Name System (DNS)

2018-04-22 The abbreviation DNS stands for Domain Name System. It is the system that is used to convert symbolic host names like google.com, to numeric internet protocol (IP) addresses like Usually when you connect your computer to the network a connection to a DNS server is set up for your computer to be able to do this translation.

A privacy protecting and very fast DNS server is available at the IP address of This is run by the network provider Cloudflare in collaboration with the Asia Pacific and Oceania regional internet address manager known as APNIC. It is a good alternative to the IP address of a DNS server that might be provided by your internet service provider (ISP) and avoids the risk of your ISP collecting and all of your DNS meta-data.

A quick way to check which DNS server is in use is with dig which reports this information. In the response from dig below the server is

  $ dig google.com  | grep SERVER:
  ;; SERVER:

To check the DNS server you are using with the often used Network Manager (NM) application for Linux you can use nmcli. In the example below you will need to replace your computer's interface name (ifname, which is enp5s0 in the example below) with the name of the network device for your computer, which is often eth0.

  $ nmcli device show enp5s0


Copyright © 1995-2019 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.