Table of Contents

Back  
  Next

Domain names, domain nameservers, DNS and DHCP

Domain names, Domain nameservers, DNS and DHCP are a key part of the internet back bone.

There are a number of levels of DNS, the system interrogates in the following order:

  1. host file, this is a basic file on each computer operating system
    1. The usual automatic entries are:
      1. The local machine host name and ip address
      2. The loop back address
  2. Additional manual entries can be added for any host name and IP address. (This can be hand on occassions, such as setting up VPNs where the setup process changes internet access for DNS stop working. The host file manual can still allow address resolution.
  3. local dns resolver
    1. machine based
      1. many operating systems have a local caching DNS server installed to improve DNS performance.
    2. LAN based
      1. This can act as a local caching DNS server and also be used for LAN
  4. public resolver
  5. authoritative domain resolver

Public DNS providers

  1. Quad9, free no commercial foundation
    1. IPv4 (filtered)
      1. 9.9.9.9
      2. 149.112.112.112
    2. IPv6 (filtered)
      1. 2620:fe::fe
      2. 2620:fe::9
  2. OpenDNS, belongs to Cisco
    1. IPv4
      1. 208.67.222.222
      2. 208.67.220.220
    2. IPv4 (filtered family shield, not-configurable)
      1. 208.67.222.123
      2. 208.67.220.123
    3. IPv6 (filtered)
      1. 2620:119:35::35
      2. 2620:119:53::53
    4. IPv6 (unfiltered)
      1. 2620:0:ccc::2
      2. 2620:0:ccd::2
  3. one.one.one.one (Cloudflare)
    1. IPv4 (unfiltered)
      1. 1.1.1.1
      2. 1.0.0.1
    2. IPv6 (unfiltered)
      1. 2620:4700:4700::1111
      2. 2620:4700:4700::1001
    3. See one.one.one.one/family for filtered options

Linux DNS Setup

The local OS DNS servers are specified in /etc/resolv.conf

The bind9 file that configs the DNS forwarders is /etc/bind/name.conf.options, the DNS forwarders are configured.

The kea dhcp configuration has the following related to DNS and gateway setup.

dhcpv4.conf

DNS Performance Checker

A good resource for checking DNS performance is from GRC Gibson reserch Corporation (Steve Gibson). The speed checker bench marking program GRC DNS Bench marker is only Windows based. It reportedly runs in Linux/WINE.

Back  
  Next