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

JmDns 3.5.0 does not respond to (T_ANY, 255) requests on sub-types #64

Closed
SanthoshKani opened this issue Mar 16, 2016 · 0 comments
Closed

Comments

@SanthoshKani
Copy link
Contributor

Hey,
I have hit a issue while performing Multicast DNS test in_ Bonjour Conformance Test_ tool.

I have a service, which has been registered with a JmDNS on a subtype "universal" for type "_ipp._tcp.local.".

While performing Shared Reply Timing test, (As mentioned in Conformance Test Outline.txt doc) tool is quering on the subtype. (i.e. with name "_universal._sub._ipp._tcp.local.")

Debug logs captures the Incoming DNS request as follows.

questions:
[AllRecords@2125616378 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: _UNIvErsAL._SUB._ipPs._TCp.lOcaL.]]
2016-03-11 18:46:59,325 DEBUG [Responder] Responder(servername)run() JmDNS responding to: [AllRecords@2125616378 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: _UNIvErsAL._SUB._ipPs._TCp.lOcaL.]
2016-03-11 18:47:26,768 DEBUG [DNSIncoming] DNSIncoming() questions:1 answers:0 authorities:0 additionals:0
2016-03-11 18:47:26,768 DEBUG [JmDNSImpl] servername.handle query: dns[query,192.168.1.2:5353, length=50, id=0x0, questions=1
questions:
[AllRecords@1465344425 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: _univeRSal._sUb._ipps._tCp.loCaL.]]
2016-03-11 18:47:26,823 DEBUG [Responder] Responder(servername)run() JmDNS responding to: [AllRecords@1465344425 type: TYPE_ANY index 255, class: CLASS_IN index 1, name: _univeRSal._sUb._ipps._tCp.loCaL.]
2016-03-11 18:47:33,274 DEBUG [DNSIncoming] DNSIncoming() questions:1 answers:0 authorities:0 additionals:0
2016-03-11 18:47:33,274 DEBUG [JmDNSImpl] servername.handle query: dns[query,192.168.1.2:5353, length=50, id=0x0, questions=1

When answering to the query, as "_universal._sub._ipp._tcp.local." is not a type, method DNSQuestion.AllRecords.addAnswers() never matches any ServiceInfo instance with PTR name resulting in call to method DNSQuestion.addAnswersForServiceInfo() with ServiceInfo instance being null.

And the query is not answered.

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