DNS Lab question

hey, at the DNS Lab question number 4 i did not understand the hint.
can someone please explain me what should I do? why i could not do ssh app01?
Also, why in questions 5 and 6 i need to do sudo vi? what vi means?

Are you talking about this lab:
https://kodekloud.com/topic/lab-dns/

If not please paste the link so we can know what lab you mean.

Step 4 says Change the DNS Server to google's DNS which is 8.8.8.8

And the hint says: Edit the /etc/resolv.conf file and change the nameserver IP to 8.8.8.8

To edit files on Linux we normally use vi (vim) - a guide can be found here:
community-faq/docs/vi-101.md at main · kodekloudhub/community-faq (github.com)

I don’t understand why you are trying to login to app01 - no where in this lab does it mention app01.

sudo is required to edit system files. Normally users will login using their own account and only use sudo when they need root priviledges to do something. It is like the Administrator account on a Window machine.

why can’t I use this command: “sudo nano /etc/resolv.conf” ? this is what i found on google

You can use nano if you like. So long as the edited file is changed correctly it doesn’t matter what editor you choose to use.

When i wrote the commend: “sudo nano /etc/resov.conf” it does not give me the option to change the file, do you know why?

Because the file is called resolv.conf not resov.conf