Exam EX200 All QuestionsBrowse all questions from this exam
Question 63

SIMULATION -

Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.

    Correct Answer:

    To configure the system to resolve server1.example.com using the nameserver 192.168.0.254, you need to update the DNS configuration. This can be done by editing the /etc/resolv.conf file to include the nameserver. Here are the steps to do this: 1. Open the /etc/resolv.conf file using a text editor, for example: vi /etc/resolv.conf 2. Add the following line to the file: nameserver 192.168.0.254 3. Save the changes and exit the editor. 4. To verify the changes, you can use the host command: host server1.example.com. This command should resolve the server1.example.com to its IP address using the specified nameserver.

Discussion
MELO225

In RHEL8, add this line to the /etc/hosts file and save the changes as follow: #vim /etc/hosts 192.168.0.254 server1.example.com

D54752

Assume ens192 is the interface nmcli con mod ens192 ipv4.dns 192.168.0.254 nmcli con up ens192 nslookup server1.example.com

ly01

It's not eve written in english this question. Either setup the DNS resolve with nmcli or edit the hostfile when you are in front of the real thing

EX200V8KEXAM

in RHEL 8 : vi /etc/hosts 192.168.0.254 nameserver