summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-28 17:10:55 +0100
committerGitHub <noreply@github.com>2024-02-28 17:10:55 +0100
commite1644d96a613d02db8cc21ccac6226b53568c5b0 (patch)
tree2cf2f0af5c4bfc857569a7cf5deda1847990aea0
parente50b14036fb2ca340a8030f9cde42c4926c241bd (diff)
parent665ae5072911fbb1373c393d9b57212552957888 (diff)
downloadvyos-1x-e1644d96a613d02db8cc21ccac6226b53568c5b0.tar.gz
vyos-1x-e1644d96a613d02db8cc21ccac6226b53568c5b0.zip
Merge pull request #3054 from c-po/hostsd-T4270
vyos-hostsd: T4270: do not resolve local router FQDN to 127.0.1.1
-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