ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Become a Linux Pro: Part-14 | Master the /etc/hosts File | How to Edit it for Local DNS Management
ฝัง
- เผยแพร่เมื่อ 13 ก.พ. 2023
- #cp_linux_basics_part14
______________________________________________________________________
It's important to understand the /etc/hosts file as it's a fundamental component of the system. It is used to map hostnames to IP addresses and is essential for network communication.
By learning how to edit the /etc/hosts file, you can manage local DNS settings more efficiently.
______________________________________________________________________
Unlock the potential of your career: Join the Cloud Journey with Cloud Patashala.
Learn the latest AWS Cloud and DevOps tools, through our comprehensive and hands-on courses. Discover the power of the cloud and how it can transform your career.
For more information on our course offerings, batch durations and how to join, visit our website cloudpatashala... or contact us at info@cloudpatashala.in.
Don't miss this opportunity to elevate your career to new heights with Cloud Patashala.
Cloud Patashala
cloudpatashala...
email us @ info@cloudpatashala.in
Telegram: t.me/cloudpata...
Facebook: / cloud.patashala
What is the advantage or the purpose of having more aliases for hostname?
There might be more disadvantages than advantages.
if government bans some site can we access it by resolving domain name to IP address in /etc/hosts
Yes that would work.
Unless govt denies those ip addresses on firewalls
How to save the file ??
To save the file use vi / vim editor steps.
1. we need to be the root user.
2. Use escp key and then type :wq