nerdexam
Red_Hat

RH202 · Question #2

Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is 172.24.254.254

#vi /etc/resolv.conf nameserver 172.24.254.254 dig server1.example.com #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 indi

Requirements Engineering in the Project Lifecycle

Question

Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is 172.24.254.254

Explanation

#vi /etc/resolv.conf nameserver 172.24.254.254

dig server1.example.com

#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 the 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 commands.

Topics

#DNS resolution#network diagnostics#dig command#name server

Community Discussion

No community discussion yet for this question.

Full RH202 Practice