Example
Mac-Computer:~ username$ dns-sd -Z _roger._tcp
Response
Browsing for _roger._tcp
DATE: ---Thu 30 Apr 2020---
17:27:52.242 ...STARTING...
; To direct clients to browse a different domain, substitute that domain in place of
,→'@'
lb._dns-sd._udp PTR @
; In the list of services below, the SRV records will typically reference dot-local
,→Multicast DNS names.
; When transferring this zone file data to your unicast DNS server, you'll need to
,→replace those dot-local
; names with the correct fully-qualified (unicast) domain name of the target host
,→offering the service.
_roger._tcp PTR Ouster Sensor 991234567890._
,→roger._tcp
Ouster Sensor 991234567890._roger._tcp SRV 0 0 7501 os-991234567890.local. ;
,→Replace with unicast FQDN of target host
Ouster Sensor 991234567890._roger._tcp TXT "pn=840-102145-B" "sn= 991234567890"
,→"fw=ousteros-image-prod-aries-v2.0.0-20200417193957" "sn= 991234567890"
2. Browseforthesensor IPv4addressusing dns-sdand thesensorhostname.
Command
dns-sd -G v4 [sensor_hostname]
Example
Mac-Computer:~ username$ dns-sd -G v4 os-991234567890.local
Response
DATE: ---Thu 30 Apr 2020---
17:37:33.155 ...STARTING...
Timestamp A/R Flags if Hostname Address TTL
17:37:33.379 Add 2 7 os-991234567890.local. 169.254.0.123 120
Note: Inthis example,yoursensorIPv4 addressis determinedtobe 169.254.0.123
72