Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNSServiceQueryRecord



Hi, Eric. A couple of things you can try:

At 5:09 PM -0700 7/16/04, Eric Wing wrote:
	dns_error = DNSServiceResolve(
			&resolve_ref,
			0,
			rdata_array[0].interfaceIndex,
			rdata_array[0].name,
			rdata_array[0].regtype,
			rdata_array[0].domain,
			&resolve_callback,
			&query_data
		);
	/* Select loop for DNSServiceProcessResult cut  */

	dns_error = DNSServiceQueryRecord(
					&query_ref,
					0,
					0,
					query_data.fullname,
					1,
					1,
					&query_record_callback,
					&query_data
	);

Try using the same interface index that was successful for the resolve on the query. (A resolve is just a special-purpose form of a query, after all.)


You can also try using the dns-sd tool (in Clients) with the -Q option to query for the same record using a different (and, we think, working) code base. That ought to answer some questions about whether it's your client or something else that is acting up.


Roger. _______________________________________________ rendezvous mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous Do not post admin requests to the list. They will be ignored.


References: 
 >Re: DNSServiceQueryRecord (From: Eric Wing <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.