InsideDarkWeb.com

systemd-resolved browse for mdns services

Can systemd-resolved be used to browse for mdns services the same way like avahi-browse?

For example:

$ avahi-browse _smb._tcp
+   eno1 IPv6 PC1                                      Microsoft Windows Network local
+   eno1 IPv6 PC2                                      Microsoft Windows Network local
+   eno1 IPv6 PC3                                      Microsoft Windows Network local
+   eno1 IPv6 PC4                                      Microsoft Windows Network local

But on another machine in the same network, resolved is used but querying all machines for a given service is not working:

$ resolvectl --protocol=mdns service _smb._tcp.local
Resolve call failed: All attempts to contact name servers or networks failed

But a direct query involving the hostname is working:

$ resolvectl --protocol=mdns service PC1._smb._tcp.local
PC1._smb._tcp.local: PC1.local:445 [priority=0, weight=0]
                          fe80::e4c2:d456:7856:45f1%4       -- link: eth0
                          (PC1/_smb._tcp/local)

-- Information acquired via protocol mDNS/IPv6 in 139.7ms.
-- Data is authenticated: no

What do I miss here? Or is resolved not made for what I want?

Unix & Linux Asked by sila_user on November 21, 2021

0 Answers

Add your own answers!

Related Questions

Full text of commands cut off in /var/log/secure

1  Asked on December 2, 2020 by user3427070

   

how can i use mod_wsgi for apache 2.4.6 in centos 6.10 system

0  Asked on December 1, 2020 by touqir-rasul

   

Missing glyphs with urxvt-unicode

2  Asked on December 1, 2020 by luigi-pertoldi

     

How to upgrade vim only in my own directory?

0  Asked on December 1, 2020 by c-yj

     

cross-compiling for 32-bit architecture on 64-bit (FreeBSD)

1  Asked on November 30, 2020 by sephiroth

   

Environment variable in LXSession autostart file?

2  Asked on November 30, 2020 by paul-d-smith

 

How to trick a program into thinking there is no X server running

2  Asked on November 29, 2020 by luka-aleksi

 

Why is irqs_disabled() an unsafe way of disabling preemption?

2  Asked on November 29, 2020 by holmes-sherlock

   

How to debug and monitor the power management?

0  Asked on November 28, 2020 by jonas-stein

     

How do I run grep on a zsh variable?

2  Asked on November 28, 2020 by serge-vu

     

This system is currently not set up to build kernel modules

1  Asked on November 28, 2020 by henrique-de-sousa

   

unable to install anything in Dockerfile

1  Asked on November 27, 2020 by bitfreak

     

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.