systemd-resolved returns only short hostname when PTR record of local IP is requested
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Ubuntu 17.10 comes with systemd-resolved as the default local resolver.
When querying the PTR record of any local IP address it returns only the hostname (without domain) and does not forward the query to the available nameservers.
This results in unwanted results.
How do I change that behaviours without disabling and masking systemd-resolved and manually putting the nameservers in /etc/resolv.conf?
Example:
root@files05:~# host 192.168.48.115
115.48.
root@files05:~# host 192.168.48.116
116.48.
root@files05:~# host 192.168.48.120
120.48.
root@files05:~# host 192.168.48.120 192.168.48.2
Using domain server:
Name: 192.168.48.2
Address: 192.168.48.2#53
Aliases:
120.48.
tags: | added: artful |
Does setting 'LLMNR=no' in /etc/systemd/ resolved. conf and restarting systemd-resolved solve this for you?
(see also bug #1739672)