-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Jesper Staun Hansen wrote:
> I think I saw some code in Eric Jungs foxyproxy that did that. Ofcause I
> could remember wrongly.
You got it right:
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!
- --
Arturo "Buanzo" Busleiman
Independent Linux and Security Consultant - SANS - OISSG - OWASP
http://www.buanzo.com.ar/pro/eng.html
Mailing List Archives at http://archiver.mailfighter.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI3UyzAlpOsGhXcE0RCuoVAJ0R0n9d5TMP2OUXQXe2rB6weLMBtQCeJ55T
I2kGpMUcgqqPdVh0kVlxA/Q=
=xCxg
-----END PGP SIGNATURE-----
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners