Câu 31: XK0-004: CompTIA Linux+
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the tes…
Nội dung câu hỏi
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. # hostnamectl set-hostname ג€192.168.1.100 production.company.comג€
- B. # grep ג€"i IP ג€${ip addr show} production.company.comג€ > /etc/resolv.conf
- C. # ip addr add 192.168.1.100/24 dev eth0 && rndc reload production.company.com
- D. # echo ג€192.168.1.100 production.company.comג€ >> /etc/hosts — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.