aboutsummaryrefslogtreecommitdiff
path: root/templates/vserver-legacy/vserver-legacy.d/etc/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vserver-legacy/vserver-legacy.d/etc/hosts')
-rw-r--r--templates/vserver-legacy/vserver-legacy.d/etc/hosts21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/vserver-legacy/vserver-legacy.d/etc/hosts b/templates/vserver-legacy/vserver-legacy.d/etc/hosts
new file mode 100644
index 0000000..6e33147
--- /dev/null
+++ b/templates/vserver-legacy/vserver-legacy.d/etc/hosts
@@ -0,0 +1,21 @@
+#
+# hosts This file describes a number of hostname-to-address
+# mappings for the TCP/IP subsystem. It is mostly
+# used at boot time, when no name servers are running.
+# On small systems, this file can be used instead of a
+# "named" name server. Just add the names, addresses
+# and any aliases to this file...
+#
+# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
+# should NEVER be named with the name of the machine. It causes problems
+# for some (stupid) programs, irc and reputedly talk. :^)
+#
+
+# For loopbacking.
+127.0.0.1 localhost
+# This next entry is technically wrong, but good enough to get TCP/IP apps
+# to quit complaining that they can't verify the hostname on a loopback-only
+# Linux box.
+127.0.0.1 darkstar.example.net darkstar
+
+# End of hosts.