summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-28 20:13:46 +0100
committerGitHub <noreply@github.com>2024-02-28 20:13:46 +0100
commitfdfe194634f7a15c2299a3a3bffbe64fe578f466 (patch)
tree660df0857a1ff0854dd1b698bd3682c158ed7811
parent0be3d1f64bea6e3b52f58a1da056179f88baff9d (diff)
parentc63cae4f75bdd118c0aee5b502ba3eccdc23c86c (diff)
downloadvyos-1x-fdfe194634f7a15c2299a3a3bffbe64fe578f466.tar.gz
vyos-1x-fdfe194634f7a15c2299a3a3bffbe64fe578f466.zip
Merge pull request #3057 from vyos/mergify/bp/sagitta/pr-3054
vyos-hostsd: T4270: do not resolve local router FQDN to 127.0.1.1 (backport #3054)
-rw-r--r--data/templates/vyos-hostsd/hosts.j21
1 files changed, 0 insertions, 1 deletions
diff --git a/data/templates/vyos-hostsd/hosts.j2 b/data/templates/vyos-hostsd/hosts.j2
index 5cad983b4..71fa335da 100644
--- a/data/templates/vyos-hostsd/hosts.j2
+++ b/data/templates/vyos-hostsd/hosts.j2
@@ -4,7 +4,6 @@
# Local host
127.0.0.1 localhost
-127.0.1.1 {{ host_name }}{% if domain_name %}.{{ domain_name }} {{ host_name }}{% endif %}
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback