Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to get some information but they are missed #40

Open
Sor3nt opened this issue Jun 8, 2017 · 0 comments
Open

Try to get some information but they are missed #40

Sor3nt opened this issue Jun 8, 2017 · 0 comments

Comments

@Sor3nt
Copy link

Sor3nt commented Jun 8, 2017

hello, maybe someone can help me to deal with this issue...

i want to discover a amazon fire device. the dns search on the shell (on mac) works very well with this command

dns-sd -B _amzn-wplay._tcp local
This comand response with an instance name like this "amzn.dmgr:649079E36FF650C95604A3397843E704:QZT4YaSve2:325301"

the next call receive the device info
dns-sd -L "amzn.dmgr:649079E36FF650C95604A3397843E704:QZT4YaSve2:325301" _amzn-wplay
and response with
... can be reached at 192-168-5-103.local.:53725 ...

so how can i archive the same result with multicast dns ?

currently i just use the basic sample script with my custom name
mdns.query({ questions:[{ name: '_amzn-wplay._tcp.local', type: 'A' }] })

he will find the device but no addition information are given

got a response packet: { id: 0, type: 'response', flags: 1024, questions: [], answers: [ { name: '192-168-5-103.local', type: 'A', class: 1, ttl: 3600, flush: true, data: '192.168.5.103' } ], authorities: [], additionals: [] }

any ideas ? thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant