How can I query .local bonjour DNS entries?

前端 未结 2 584
野的像风
野的像风 2021-02-08 20:40

It\'s pretty straightforward to query out the guts of a DNS-SD entry via dig by asking your nameserver directly; but for multicast DNS, I\'m not sure where to look.

2条回答
  •  太阳男子
    2021-02-08 21:16

    Aha, the secret is the multicast address/port.

    For example, to query available AFP servers:

    dig @224.0.0.251 -p 5353 -t ptr _afpovertcp._tcp.local
    

提交回复
热议问题