I assume I'm affected by the same issue.

I also use my router (Mikrotik) to set up short aliases for hosts.

This works generally:

$ dig +short anton @10.0.0.1
10.0.0.12

In my /etc/resolv.conf, systemd-resolved is enabled:

$ tail -n 1 /etc/resolv.conf 
nameserver 127.0.0.53

When running "systemd-resolve --status", I can see that the DNS server
is correctly set up for the interface via DHCP:

  Link 4 (wlx0013ef8b0189)
        Current Scopes: DNS
         LLMNR setting: yes
  MulticastDNS setting: no
        DNSSEC setting: no
      DNSSEC supported: no
           DNS Servers: 10.0.0.1

However, it is not being used to resolve the shortnames:

$ dig +short anton @10.0.0.1
10.0.0.12
$ dig +short anton @127.0.0.53
<nothing>
$ dig +short anton
<nothing>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674605

Title:
  resolving short local hostnames doesn't work, fqdn are fine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1674605/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to