diff options
author | kroy <kroy@kroy.io> | 2019-09-19 19:28:24 -0500 |
---|---|---|
committer | kroy <kroy@kroy.io> | 2019-09-19 19:28:24 -0500 |
commit | fec6e5b5dbd6282518cf9835f0e8b334b52b6839 (patch) | |
tree | 4a7e0e0e69fc64aa1005e9d39419e6003eb2134e /src/services | |
parent | 4cc3cda1fac559578add593a14a2fa04bd7167a3 (diff) | |
download | vyos-1x-fec6e5b5dbd6282518cf9835f0e8b334b52b6839.tar.gz vyos-1x-fec6e5b5dbd6282518cf9835f0e8b334b52b6839.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 |