HomeVyOS Platform

vyos-hostsd: T4270: resolve only hostname without domain name to 127.0.1.1

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

vyos-hostsd: T4270: resolve only hostname without domain name to 127.0.1.1

This is a fix for commit 665ae50729 ("vyos-hostsd: T4270: do not resolve local
router FQDN to 127.0.1.1") as it made calls to sudo super slow due to:

sudo: unable to resolve host vyos: System error

To avoid the initial issue we only add the hostname without domain name, thus
the FQDN is not resolved by powerdns.

(cherry picked from commit 3712f28025a5bc99e941b5212091a2732b9f6d6c)

Details

Provenance
c-poAuthored on Feb 29 2024, 9:08 PM
MergifyCommitted on Feb 29 2024, 9:19 PM
Parents
rVYOSONEX11f8efe7ab41: Merge pull request #3065 from vyos/mergify/bp/sagitta/pr-3052
Branches
Loading...
Tags
Loading...