3 ms·
Would you mind to elaborate (give an example)? I've toyed with bonjour spoofing before, but I always found querying was incredibly difficult, using dns-sd, e.g
by klapinat0r 12y ago
Would you mind to elaborate (give an example)?
I've toyed with bonjour spoofing before, but I always found querying was incredibly difficult, using dns-sd, e.g.:
HOST=`(dns-sd -L "Name of Machine" _http._tcp local
| grep -o "at .* (interface"
| grep -o "[a-zA-Z\-]\{1,\}\.local" &
); sleep 1 && pkill -f dns-sq`
Obviously tailored specifically for that project, but I hope you catch my drift. And add to that the port lookup.
I'm fairly certain I'm not using it as you do, so would you mind giving an example of how your use MDNS for local dev testing?