logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mquery — small query tool for multicast DNS

Authors

       This mDNS-SD implementation was created in 2003 by Jeremie Miller <jer@jabber.org>.  Much later, in 2016,
       it was adopted by
       Joachim   Wiberg   <troglobit@gmail.com>   for   further   development   and   maintenance   at   GitHub:
       ⟨https://github.com/troglobit/mdnsd⟩.

Debian                                             Jan 4 2022                                          MQUERY(1)

Description

mquery  is  a  companion  tool to mdnsd(8), but can also be used stand-alone with other mDNS servers.  It
       formats and sends mDNS service queries, similar to how mdns-scan(1) works, but with  a  fraction  of  the
       usability.

       mquery  runs  on  the  system  default  interface,  derived  from  the  routing table.  To run on another
       interface, use the -iIFACE command line option.  It runs continuously monitoring for  responses  to  the
       initial query, by default _services._dns-sd._udp.local.

Name

       mquery — small query tool for multicast DNS

Options

       This program follows the usual UNIX command line syntax. The options are as follows:

       -h      Print a bare bones help message and exits.

       -iIFACE
               Interface  to  run  query  on,  by default the system default interface is used, derived from the
               routing table.

               Only available on Linux.

       -s      By default mquery behaves a lot like mdns-scan(1), which after receiving an initial  reply  to  a
               scan,  sends  a  specific  PTR query to the respondent.  This option skips that specific scan and
               runs mquery in a simple mode.

       -tTYPE
               Query type, default 12 (PTR).

       -h      Print a help message and exit.

       -v      Show program version.

       -wSEC  Delay (approximate) in seconds before automatically exiting.

See Also

mdns-scan(1) mdnsd(8),

Synopsis

mquery [-hsv] [-iIFACE] [-tTYPE] [-wSEC] [NAME]

See Also