nerdexam
Red_Hat

RH202 · Question #21

28: Successfully resolv to server1.example.com where your DNS server is 172.24.254.254

Answers: 1. vi /etc/resolv.conf nameserver 172.24.254.254 2. host server1.example.com DNS is the Domain Name System, which maintains a database that can help your computer translate domain names such as www.redhat.com to IP addresses such as 216.148.218.197. As no individual…

Basic Networking

Question

28: Successfully resolv to server1.example.com where your DNS server is 172.24.254.254

Explanation

Answers:

  1. vi /etc/resolv.conf nameserver 172.24.254.254
  2. host server1.example.com DNS is the Domain Name System, which maintains a database that can help your computer translate domain names such as www.redhat.com to IP addresses such as 216.148.218.197. As no individual DNS server is large enough to keep a database for entire Internet, they can refer requests to other DNS servers. DNS is based on the named daemon, which is built on the BIND (Berkeley Internet Name Domain) package developed through the Internet Software Consortium Users wants to access by name so DNS will interpret the name into ip address. You need to specify the Address if DNS server in each and every client machine. In Redhat Enterprise Linux, you need to specify the DNS server into /etc/resolv.conf file. After Specifying the DNS server address, you can verify using host, dig and nslookup

Topics

#DNS resolution#resolv.conf#nameserver configuration#network settings

Community Discussion

No community discussion yet for this question.

Full RH202 Practice