/etc/hosts

Chris F.A. Johnson c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Tue Nov 4 09:00:08 UTC 2003


On Thu, 14 Aug 2003, Max Blanco wrote:

>
> Hi All,
>
> I have an unconnected local subnet.
> I have one machine on it so far.
> I wonder what will be the effect if I have two entries in the /etc/hosts
> file for the same machine?
>
> 192.168.1.9	johannes	johaness.blanco.org
> 192.168.1.9	geeklog		geeklog.net
>
> Is this kosher?
> resolveip seems to find both entries.

 $ tr ' ' '\t' < /etc/hosts | cut -f1 | sort | uniq -c
    151
    103 #
      1 ##
      1 ##0.0.0.0
      2 #***********************************************
  13211 0.0.0.0

    I guess it's OK! :)

    (That's 13,211 names of sources of nothing but ads.)

      1 127.0.0.1
      1 192.168.0.1
      1 192.168.0.100
      1 192.168.0.13
      1 192.168.0.69
      1 192.168.0.77
      1 199.71.188.0
      1 199.71.188.16
      1 199.71.188.17
      1 199.71.188.18
      1 199.71.188.19
      1 199.71.188.20
      1 199.71.188.21
      1 199.71.188.22
      1 199.71.188.23
      1 199.71.188.24
      1 199.71.188.28
      1 207.202.214.130
      1 207.202.214.131



-- 
	Chris F.A. Johnson
	=================================================================
	cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org                      http://cfaj.freeshell.org
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list