2021-05-02 13:47:07 +00:00
|
|
|
# /etc/hosts: Local Host Database
|
|
|
|
# See hosts(5) for details
|
|
|
|
#
|
2021-07-14 12:27:18 +00:00
|
|
|
# This file describes a number of aliases-to-address mappings for the for
|
2021-05-02 13:47:07 +00:00
|
|
|
# local hosts that share this file.
|
|
|
|
#
|
|
|
|
# The format of lines in this file is:
|
|
|
|
#
|
|
|
|
# IP_ADDRESS canonical_hostname [aliases...]
|
|
|
|
#
|
|
|
|
# The fields can be separated by any number of spaces or tabs.
|
|
|
|
#
|
2021-07-14 12:27:18 +00:00
|
|
|
# In the presence of the domain name service or NIS, this file may not be
|
2021-05-02 13:47:07 +00:00
|
|
|
# consulted at all; see /etc/host.conf for the resolution order.
|
|
|
|
#
|
2021-07-14 12:27:18 +00:00
|
|
|
# According to RFC 1918, you can use the following IP networks for private
|
2021-05-02 13:47:07 +00:00
|
|
|
# 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
|
|
|
|
#
|
2021-07-14 12:27:18 +00:00
|
|
|
# In case you want to be able to connect directly to the Internet (i.e. not
|
|
|
|
# behind a NAT, ADSL router, etc...), 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,
|
2021-05-02 13:47:07 +00:00
|
|
|
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
|
|
|
|
#
|
|
|
|
|
|
|
|
# IPv4 and IPv6 localhost aliases
|
2022-03-17 14:54:03 +00:00
|
|
|
127.0.0.1 localhost ip4-localhost
|
|
|
|
::1 ip6-localhost
|
2021-05-02 13:47:07 +00:00
|
|
|
# Current system definition
|
2022-03-17 14:54:03 +00:00
|
|
|
127.0.1.1 pc.localdomain pc
|
2021-07-14 12:27:18 +00:00
|
|
|
|
2021-05-02 13:47:07 +00:00
|
|
|
# Extra systems on the network
|
2022-03-17 14:54:03 +00:00
|
|
|
10.1.0.1 localserver.localdomain localserver
|
2021-07-14 12:27:18 +00:00
|
|
|
|
2021-05-02 13:47:07 +00:00
|
|
|
# DNS servers
|
|
|
|
45.90.30.0 nextcloud-dns
|
|
|
|
1.1.1.1 couldflare-dns
|
|
|
|
1.0.0.1 cloudflare-dns2
|
|
|
|
8.8.8.8 google-dns
|
|
|
|
|