From d015c591791aea2e911622183baf522132cf06c8 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 16 Jan 2023 23:07:51 +0100 Subject: [PATCH] Add /etc/hosts file --- root/etc/hosts | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 root/etc/hosts diff --git a/root/etc/hosts b/root/etc/hosts new file mode 100644 index 0000000..1443bf9 --- /dev/null +++ b/root/etc/hosts @@ -0,0 +1,44 @@ +# /etc/hosts: Local Host Database +# See hosts(5) for details +# +# This file describes a number of aliases-to-address mappings for the for +# 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. +# +# 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. +# +# 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 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, +# APNIC, LACNIC, RIPE NCC, or AfriNIC.) +# + +# IPv4 and IPv6 localhost aliases +127.0.0.1 localhost ip4-localhost +::1 ip6-localhost + +# Current system definition +127.0.1.1 pc.localdomain pc + +# Extra systems on the network +10.1.0.1 localserver.localdomain localserver + +# 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