109.4 Configure Client Side DNS Flashcards
Lookup authoritative nameservers for linux.com using Google DNS.
dig @8.8.8.8 +short NS linux.com
Option to set the source IP address of a DNS query.
dig -b
Generates a ddns_key for /etc/named.conf.
dns-keygen or dnskeygen
Command used to perform a database lookup and display entries from the specified database.
getent
Ex. getent group sales
Displays IP addresses for a specified domain name like www.google.com.
host www.google.com
Queries the name server for specific information.
nslookup in interactive mode
Full path to config file to specify order hosts,bind. (used by old versions of the C library)
/etc/host.conf
Full path to the conf file that specifies the order of name server lookups.
/etc/nsswitch.conf
Ex. hosts: files dns
Full path to conf file that specifies the domain to be searched and the DNS server to use for utilities like dig.
/etc/resolv.conf
search home vmhost
nameserver 192.168.1.1
The first domain name listed after the search keyword must be the home domain of your network.