HomeVyOS Platform

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

This commit no longer exists in the repository. It may have been part of a branch which was deleted.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)

  1. Conflicts:
  2. data/templates/vyos-hostsd/hosts.tmpl

Details

Provenance
c-poAuthored on Feb 29 2024, 9:08 PM
MergifyCommitted on Apr 26 2024, 6:27 PM

Commit No Longer Exists

This commit no longer exists in the repository.