You have a single network adapter called eth0.
DEVICE = eth0
BOOTPROTO=DHCP
HWADR=BC:305B:C5:63;F1
NM_CONTROLLED=no
ONBOOT=YES
TYPE=Ethernet
PEERDNS=no
UUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9
Which two Statement:; are true concerning eth0 based on this configuration?
A.
DHCP is used to obtain a lease on an IP address.
B.
The dhclient command may only be used to obtain a lease at boot time.
C.
dhclient does not override the contents of /etc/resolv.conf.
D.
DNS is not used to resolve host names for this adapter.
E.
dhclient overrides the contents of /etc/resolv.conf.
Explanation:
A: BOOTPROTO=DHCP
C: PEERDNS=answer
where answer is one of the following:
yes — Modify /etc/resolv.conf if the DNS directive is set. If using DHCP, then yes is the default.
no — Do not modify /etc/resolv.conf.
Note: The “/etc/resolv.conf” file is used to configure the location of the DNS servers to be used for
name resolution.
A,C
Correct are A, C
A C
A,C
A,E
If your system obtains its IP address from a DHCP server, it is usual for the system to configure the contents of this file with information also obtained using DHCP.
http://web.mit.edu/rhel-doc/3/rhel-sag-es-3/s1-dhcp-configuring-client.html
Please notice the “PEERDNS=no”
The line will prevents dhclint to override /etc/resolv.conf