[Project_owners] DNS Requests?

Arturo 'Buanzo' Busleiman buanzo at buanzo.com.ar
Fri Sep 26 13:57:23 PDT 2008


-----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-----


More information about the Project_owners mailing list