diff options
author | kroy <kroy@kroy.io> | 2019-09-19 19:28:24 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-09-24 03:59:06 +0200 |
commit | 458128f9bc3ffa060447a9f42206fa54f9d1f183 (patch) | |
tree | a58ef138434a479efd153dc2cbfa9797844a0446 /src/services | |
parent | 35085a9e5806ae95c517254d7ec7383bfaa966fc (diff) | |
download | vyos-1x-458128f9bc3ffa060447a9f42206fa54f9d1f183.tar.gz vyos-1x-458128f9bc3ffa060447a9f42206fa54f9d1f183.zip |
T1638: generated hosts file fix for proper FQDN resolution
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-hostsd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd index 8f70eb4e9..e7ecd8573 100755 --- a/src/services/vyos-hostsd +++ b/src/services/vyos-hostsd @@ -43,7 +43,7 @@ hosts_tmpl_source = """ # Local host 127.0.0.1 localhost -127.0.1.1 {{ host_name }}{% if domain_name %}.{{ domain_name }}{% endif %} +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 |