mdns avahi: resolve type A records
Hi All,
We have a use case where we need to detect network devices using multicast dns (aka mdns, avahi, bonjour,...). (These are IP camera's configured with static ip addresses configured outside the current subnet)
I found the avahi-utils packages which allows me to query the lokal network.
It will resolve the device i'm looking for.
However i can not figure out how to display all the results embedded in the mdns response. using wireshark i can actually see the PTR, SRV, TXT and A records.
I'm specifically interested in these A records.
Fyi, eventually i'd like to script the detection/network configuration. So using wireshark is not a valid solution.
The query i use now= avahi-browse -d local _axis-video._tcp -t -r -p
System is debian and network is ipv4.
Any help greatly appreciated.
|