Just wondering if it would be worthwhile following FreeBSD's /etc/hosts format which make RFC1918 etc clear and hopefully stop people just making up IP's and getting themselves in trouble... # $FreeBSD: src/etc/hosts,v 1.11.2.4 2003/02/06 20:36:58 dbaker Exp $ # # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # In the presence of the domain name service or NIS, this file may # not be consulted at all; see /etc/host.conf for the resolution order. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain # # Imaginary network. #10.0.0.2 myname.my.domain myname #10.0.0.3 myfriend.my.domain myfriend # # According to RFC 1918, you can use the following IP networks for # private nets which will never be connected to the Internet: # # 10.0.0.0 - 10.255.255.255 # 172.16.0.0 - 172.31.255.255 # 192.168.0.0 - 192.168.255.255 # # In case you want to be able to connect to the Internet, you need # real official assigned numbers. Do not try to invent your own network # numbers but instead get one from your network provider (if any) or # from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.) # Reproducible: Always Steps to Reproduce:
What do you think Roy .. also, do we need to keep the ipv6 stuff around ?
I think this is better than what we currently have. I would say that we need to remove the localhost.my.domain though as we should ship something that 100% works. Re the ipv6 stuff we have - I say we should remove it and just keep the ::1 reference back to localhost, which is the same as the example listed here. The last paragraph is a bit confusing # In case you want to be able to connect to the Internet, you need real official assigned numbers. I am connected to the internet, but I use private IP's. Maybe something like this # In case you want to be able to directly connect to the Internet (ie not behind a NAT, ADSL router or similar), you need real official assigned numbers.
thanks, integrated info into our current hosts file
*** Bug 137031 has been marked as a duplicate of this bug. ***