summaryrefslogtreecommitdiff
path: root/src/conf_mode/nat.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-29 22:08:29 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-29 21:19:16 +0000
commit3700c7250c4372114235bac12687d628f898a1a0 (patch)
tree5ba902d66ca7d26d34a909678480cb934a202fe1 /src/conf_mode/nat.py
parent11f8efe7ab411a2ef5467b1471e9d5c0d83bd0d2 (diff)
downloadvyos-1x-3700c7250c4372114235bac12687d628f898a1a0.tar.gz
vyos-1x-3700c7250c4372114235bac12687d628f898a1a0.zip
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)
Diffstat (limited to 'src/conf_mode/nat.py')
0 files changed, 0 insertions, 0 deletions