Compare Pastes
Differences between the pastes
#126473 (02.09.2019 14:58)
and
#151478 (06.11.2020 07:11).
1 | # /etc/hosts: Local Host Database | |
2 | # | |
3 | # This file describes a number of aliases-to-address mappings for the for | |
4 | # local hosts that share this file. | |
5 | # | |
6 | # The format of lines in this file is: | |
7 | # | |
8 | # IP_ADDRESS canonical_hostname [aliases...] | |
9 | # | |
10 | #The fields can be separated by any number of spaces or tabs. | |
11 | # | |
12 | # In the presence of the domain name service or NIS, this file may not be | |
13 | # consulted at all; see /etc/host.conf for the resolution order. | |
14 | # | |
15 | ||
16 | # IPv4 and IPv6 localhost aliases | |
17 | 127.0.0.1 localhost | |
18 | ::1 localhost | |
19 | 192.168.0.5 local.home | |
20 | ||
21 | # | |
22 | # Imaginary network. | |
23 | #10.0.0.2 myname | |
24 | #10.0.0.3 myfriend | |
25 | # | |
26 | # According to RFC 1918, you can use the following IP networks for private | |
27 | # nets which will never be connected to the Internet: | |
28 | # | |
29 | # 10.0.0.0 - 10.255.255.255 | |
30 | # 172.16.0.0 - 172.31.255.255 | |
31 | # 192.168.0.0 - 192.168.255.255 | |
32 | # | |
33 | # In case you want to be able to connect directly to the Internet (i.e. not | |
34 | # behind a NAT, ADSL router, etc...), you need real official assigned | |
35 | # numbers. Do not try to invent your own network numbers but instead get one | |
36 | # from your network provider (if any) or from your regional registry (ARIN, | |
37 | # APNIC, LACNIC, RIPE NCC, or AfriNIC.) |