HomeVyOS Platform

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

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.

Details

Provenance
c-poAuthored on Feb 29 2024, 9:08 PM
Parents
rVYOSONEXa2e1c850c4ea: Merge pull request #2659 from jestabro/remove-trivial-redundancies
Branches
Loading...
Tags
Loading...