Re: Is there any point to full host names in /etc/hosts ?
- From: David Brown <david.brown@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 04 Nov 2007 16:42:50 +0100
Moe Trin wrote:
On Fri, 2 Nov 2007, in the Usenet newsgroup comp.os.linux.networking, in article
<b5frv4-0qn.ln1@xxxxxxxxxxxxxxxxxxx>, Rikishi 42 wrote:
He's added 2 of my PC's in the /etc/hosts of his laptop, for use when he
visits and connects it to my LAN.
This would be a sample from that file:
# Home net
192.168.108.101 desktop.myDomain desktop
192.168.108.124 laptop.myDomain laptop
192.168.108.101 server.myDomain server
Minor quibble - a given hostname OR IP address should appear on one
line only.
If you are using the hosts file to avoid web advertisements or other sites you want to avoid, the hosts file generally contains a long list of "127.0.0.1 ads.doubleclick.net" lines, with every line resolving to the same IP address. Is there some problem with lists like that?
mvh.,
David
.
- Follow-Ups:
- Re: Is there any point to full host names in /etc/hosts ?
- From: Moe Trin
- Re: Is there any point to full host names in /etc/hosts ?
- From: Rikishi 42
- Re: Is there any point to full host names in /etc/hosts ?
- From: Baho Utot
- Re: Is there any point to full host names in /etc/hosts ?
- References:
- Is there any point to full host names in /etc/hosts ?
- From: Rikishi 42
- Re: Is there any point to full host names in /etc/hosts ?
- From: Moe Trin
- Is there any point to full host names in /etc/hosts ?
- Prev by Date: Problem with interfaces configuration file
- Next by Date: Uverse, anyone?
- Previous by thread: Re: Is there any point to full host names in /etc/hosts ?
- Next by thread: Re: Is there any point to full host names in /etc/hosts ?
- Index(es):
Relevant Pages
|