summaryrefslogtreecommitdiff
path: root/files/hosts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'files/hosts.j2')
-rw-r--r--files/hosts.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/files/hosts.j2 b/files/hosts.j2
new file mode 100644
index 0000000..65ab310
--- /dev/null
+++ b/files/hosts.j2
@@ -0,0 +1,11 @@
+# SPDX-FileCopyrightText: 2025 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+127.0.1.1 {{ hostname }}
+127.0.0.1 localhost
+
+# The following lines are desirable for IPv6 capable hosts
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters