Three computers fnuc.local = Fedora 30 Server flap.local = Fedora 30 Workstation fmac.local = Fedora Rawhide Workstation
When doing 'ssh chris@' from -> to, the following combos work:
flap -> fnuc flap -> fmac fmac -> fnuc fmac -> flap
But fnuc, the Fedora Server, will not resolve fmac or flap. ssh: Could not resolve hostname flap.local: Name or service not known ssh: Could not resolve hostname fmac.local: Name or service not known
I can of course use IP addresses and it works fine. But that's driving me nuts. Originally the Workstations could not see the Server until I added mdns service to firewalld's default zone 'FedoraServer'.
If I use nmap from fnuc (server), it's clearly sees these laptops.
[chris@fnuc ~]$ sudo nmap -Pn -sU -p5353 10.0.0.121 [sudo] password for chris: Starting Nmap 7.70 ( https://nmap.org ) at 2019-06-24 22:29 MDT Nmap scan report for 10.0.0.121 Host is up (0.019s latency).
PORT STATE SERVICE 5353/udp open|filtered zeroconf MAC Address: 00:C2:C6:F0:52:53 (Intel Corporate)
Nmap done: 1 IP address (1 host up) scanned in 0.62 seconds [chris@fnuc ~]$ sudo nmap -Pn -sU -p5353 10.0.0.219 Starting Nmap 7.70 ( https://nmap.org ) at 2019-06-24 22:29 MDT Nmap scan report for 10.0.0.219 Host is up (0.00041s latency).
PORT STATE SERVICE 5353/udp open|filtered zeroconf MAC Address: C8:2A:14:02:88:99 (Apple)
Nmap done: 1 IP address (1 host up) scanned in 0.62 seconds [chris@fnuc ~]$
Haha! I'm going to start cackling. Now hilariously, this fnuc Fedora Server was running Fedora 29, upgraded many times, and this was working. But after a clean install of Fedora 30, it's not working and I can't figure out why.
-- Chris Murphy
On 6/24/19 9:31 PM, Chris Murphy wrote:
If I use nmap from fnuc (server), it's clearly sees these laptops.
That's actually irrelevant. What matters is whether or not the server can receive packets at that port. Is there anything listening on that port?
Haha! I'm going to start cackling. Now hilariously, this fnuc Fedora Server was running Fedora 29, upgraded many times, and this was working. But after a clean install of Fedora 30, it's not working and I can't figure out why.
Do you have nss-mdns installed?
On Tue, Jun 25, 2019 at 12:35 AM Samuel Sieb samuel@sieb.net wrote:
On 6/24/19 9:31 PM, Chris Murphy wrote:
If I use nmap from fnuc (server), it's clearly sees these laptops.
That's actually irrelevant. What matters is whether or not the server can receive packets at that port. Is there anything listening on that port?
I'm assuming avahi-daemon both broadcasts and listens on that port. And avahi-daemon is running on that server, hence it can resolve flap and fmac.
Haha! I'm going to start cackling. Now hilariously, this fnuc Fedora Server was running Fedora 29, upgraded many times, and this was working. But after a clean install of Fedora 30, it's not working and I can't figure out why.
Do you have nss-mdns installed?
Oh my gosh! That's it! For whatever reason avahi-daemon doesn't drag that in. FedoraServer doesn't come with either avahi or nss-mdns and I didn't realize both were required (or more likely, I forgot). As soon as I install it, the server now resolves the mdns names for the two laptops (which already had nss-mdns installed).
Realllly non-obvious!
Thanks!