Which of the follow...
 
Notifications
Clear all

Which of the following commands should be run on each of the testing systems to BEST meet this goal?

1 Posts
1 Users
0 Likes
92 Views
(@baumgarnerisreal)
Posts: 677
Noble Member
Topic starter
 

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?

  • A . # hostnamectl set-hostname “192.168.1.100 production.company.com”
    B. # grep Ci 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

Show Answer Hide Answer

 
Posted : 14/01/2023 9:26 am
Topic Tags

Latest CompTIA XK0-004 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: