K.S. Bhaskar via plug on 7 Dec 2020 14:21:14 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Defaulting the domain for a name lookup


I set up a new machine today (one on which Lubuntu 20.10 installed successfully on AMD CPUs discussed in another thread). But I have a puzzling DNS issue:

Pinging another machine on the same network works only with a domain name (pinging this machine from the other machine works without the domain name). According to man resolved.conf, if I create a file under /etc/systemd/resolved.conf.d/ with a Domains = line that should work, but it does not (I have tried spaces around the = but that does not make a difference).

$ ping -c3 grunge
ping: grunge: System error
$ ping -c3 grunge.mybands.local
PING grunge.mybands.local (123.456.789.012) 56(84) bytes of data.
64 bytes from grunge.mybands.local (123.456.789.012): icmp_seq=1 ttl=64 time=0.183 ms
64 bytes from grunge.mybands.local (123.456.789.012): icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from grunge.mybands.local (123.456.789.012): icmp_seq=3 ttl=64 time=0.234 ms

--- grunge.mybands.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2051ms
rtt min/avg/max/mdev = 0.183/0.213/0.234/0.021 ms
$ domainname
mybands.local
$ cat /etc/systemd/resolved.conf.d/mybands_local
Domains=mybands.local
$


Suggestions welcome on where to look next. Thank you very much, in advance.

Regards
– Bhaskar
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug