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 172.217.10.14. 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 1.1.1.1. 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 1.1.1.1.



  $ dig google.com  | grep SERVER:
  ;; SERVER: 1.1.1.1#53(1.1.1.1)

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


Subsections

Copyright © 1995-2018 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 the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.