]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: also synthesize records for the full local hostname
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Feb 2017 19:13:58 +0000 (20:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Feb 2017 15:13:07 +0000 (16:13 +0100)
commite96de0ce478cc769135590b36e032e17fc0335da
tree566b77a043a8b87dd9cfdc2ec462d769b5bf31d8
parenta1077c8447e55b073db8c22b5cc34426d6f89193
resolved: also synthesize records for the full local hostname

Previously, we'd only synthesize RRs for the LLMNR and mDNS versions of
the hostnames (i.e. the first label of the kernel hostname, as well as
the first label of the kernel hostname suffixed with .local). With this
change, we also synthesize an RR for the full hostname, which is
relevant in case it has more than one label.

Fixes: #5041
src/resolve/resolved-manager.c
src/resolve/resolved-manager.h