github.com/x04/go/src@v0.0.0-20200202162449-3d481ceb3525/net/testdata/ipv4-hosts (about)

     1  # See https://tools.ietf.org/html/rfc1123.
     2  #
     3  # The literal IPv4 address parser in the net package is a relaxed
     4  # one. It may accept a literal IPv4 address in dotted-decimal notation
     5  # with leading zeros such as "001.2.003.4".
     6  
     7  # internet address and host name
     8  127.0.0.1	localhost	# inline comment separated by tab
     9  127.000.000.002	localhost       # inline comment separated by space
    10  
    11  # internet address, host name and aliases
    12  127.000.000.003	localhost	localhost.localdomain