DNS

From 太極
Revision as of 09:39, 30 August 2019 by Brb (talk | contribs)
Jump to navigation Jump to search

Resource

Managing DNS Essential Training from lynda.com

DNSCrypt

DNS server

setup

DNSmasq (DNS + DHCP server)

Local forwarding server

dnsmasq program is running on my Ubuntu and Linux/Mint machines.

See nameserver 127.0.1.1 in resolv.conf won't go away!

$ ps -ef | grep -i dnsmasq

$ sudo netstat -anp | grep -i dnsmasq

Change DNS setting

Flush DNS cache

How to clear the DNS Cache?

Test if you are using OpenDNS

https://welcome.opendns.com/

Query DNS server

To list the current DNS servers used by my system,

Method 1:

# Ubuntu >= 15
$ nmcli dev show | grep 'IP4.DNS'
$ nmcli device show <interfacename> | grep IP4.DNS
# Ubuntu <= 14
$ nmcli dev list iface <interfacename> | grep IP4

Method 2:

$ cat /etc/resolv.conf

Another way is to use the R packages: gdns and dnsflare. More Options For Querying DNS From R with 1.1.1.1.

3 Ways to Check DNS Propagation Status

https://www.makeuseof.com/tag/check-dns-propagation-status/