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
Parents
rVYOSONEXa5f847beab09: Merge pull request #3349 from vyos/mergify/bp/equuleus/pr-3347
Branches
Loading...
Tags
Loading...