> Arturo 'Buanzo' Busleiman wrote:
> > var DNSService = 
> CC['@mozilla.org/network/dns-service;1'].getService(CI.nsIDNSService);
> >     var DNSRecord = DNSService.resolve(DNSService.myHostName, true);
> > 
> > Let's see how useful this is for what I want :) - Thanks!
> 
> Sadly, It can only resolve hostnames to IP addresses. I need to be able to do 
> queries on other
> record types (TXT and/or SRV, specifically)...

Buanzo, you could always open a socket connection to the DNS server and craft 
your own TXT, SRV, etc. packets.

Eric


      
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to