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

DNSServiceGetAddrInfo #7

Open
achingbrain opened this issue Nov 15, 2013 · 0 comments
Open

DNSServiceGetAddrInfo #7

achingbrain opened this issue Nov 15, 2013 · 0 comments

Comments

@achingbrain
Copy link

In resolver_sequence_tasks.js on lines 92-94 there's this sort of thing:

dns_sd.DNSServiceGetAddrInfo(
          adr_getter.serviceRef, 0, service.interfaceIndex, family_flags,
          service.host, on_get_addr_info_done, null);

I'm behind a fairly restrictive firewall and I've noticed that this module fails to look up *.local. addresses (works fine on more permissive networks). I've managed to work around the problem by specifying dns_sd.kDNSServiceFlagsForceMulticast instead of 0 in the above function call.

I wouldn't want to hard code that though - would it be possible to specify the flags passed into this function as an argument in a similar way to the DNSServiceResolve function earlier in the same file?

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