Osaisiko kukaan kertoa miten tälläinen tehdään:
http://www.peja.nu/whois.php
Toivottavasti ei ole liian noviisi-juttu :)
en osaa kertoo, mutta hae joku valmis whois-scripti ja kato sitä tai asenna se
Joo. Täytyy myöntää etten pahemmin DNS:n (tai jonkun sellaisen) toiminnasta ymmärrä.
Ei kai tuo muuta tee kuin ajaa Linux koneella 'whois'-komennon parametrinaan tuo domain. Eli linukassa:
whois microsoft.com
Antaa tuloksen, joka sitten dumpataan ruutuun <pre> tagien väliin. Helppoa.
Jaa se ei kysykään sitä suoraan miltään dns-palvelimelta.
niinpä, mutta miten esim. php:llä saa kutsuttua unixia että voisi tuon whoisin tehdä esim kotisivulleen.
miten?
lainaus:
niinpä, mutta miten esim. php:llä saa kutsuttua unixia että voisi tuon whoisin tehdä esim kotisivulleen.
Vaikkapa https://www.php.net/manual/en/function.exec.php
Sitten pahoittelen pitkää viestiä, mutta tämä oli ihan liian hauska tullakseen jätetyksi pois :)
[blaze@sakura2 ~]$ whois microsoft.com Whois Server Version 1.3 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Aborting search 20 records found ..... Server Name: MICROSOFT.COM.OHMYGODITBURNS.COM IP Address: 216.158.63.6 Registrar: DOTSTER, INC. Whois Server: whois.dotster.com Referral URL: http://www.dotster.com Server Name: MICROSOFT.COM.LOVES.JU1C3.COM IP Address: 65.214.160.14 Registrar: GANDI Whois Server: whois.gandi.net Referral URL: http://www.gandi.net Server Name: MICROSOFT.COM.LIVES.AT.SHAUNEWING.COM IP Address: 216.40.250.172 Registrar: DOTSTER, INC. Whois Server: whois.dotster.com Referral URL: http://www.dotster.com Server Name: MICROSOFT.COM.IS.SOON.GOING.TO.THE.DEATHCORPORATION.COM IP Address: 62.92.244.245 Registrar: GKG.NET, INC. Whois Server: whois.gkg.net Referral URL: http://www.gkg.net Server Name: MICROSOFT.COM.IS.NOT.SEXYCOOL.ORG Registrar: VERISIGN GRS (ORG) Whois Server: whois.verisign-grs.com Referral URL: http://www.verisign-grs.com Server Name: MICROSOFT.COM.IS.NOT.AS.COOL.AS.SIMPLECODES.COM IP Address: 207.44.234.232 Registrar: GO DADDY SOFTWARE, INC. Whois Server: whois.godaddy.com Referral URL: http://registrar.godaddy.com Server Name: MICROSOFT.COM.IS.GOD.BECOUSE.UNIXSUCKS.COM IP Address: 161.16.56.24 Registrar: ENOM, INC. Whois Server: whois.enom.com Referral URL: http://www.enom.com Server Name: MICROSOFT.COM.IS.A.STEAMING.HEAP.OF.FUCKING-BULLSHIT.NET IP Address: 63.99.165.11 Registrar: THE NAME IT CORPORATION DBA NAMESERVICES.NET Whois Server: whois.aitdomains.com Referral URL: http://www.aitdomains.com Server Name: MICROSOFT.COM.HAS.TEH.GAY.OMFGLOL.COM IP Address: 130.94.123.8 Registrar: ABACUS AMERICA, INC. DBA NAMES4EVER Whois Server: whois.names4ever.com Referral URL: http://www.names4ever.com Server Name: MICROSOFT.COM.HAS.ITS.OWN.CRACKLAB.COM IP Address: 209.26.95.44 Registrar: DOTSTER, INC. Whois Server: whois.dotster.com Referral URL: http://www.dotster.com Server Name: MICROSOFT.COM.HAS.A.PRESENT.COMING.FROM.HUGHESMISSILES.COM IP Address: 66.154.11.27 Registrar: TUCOWS, INC. Whois Server: whois.opensrs.net Referral URL: http://www.opensrs.org Server Name: MICROSOFT.COM.FILLS.ME.WITH.BELLIGERENCE.NET IP Address: 130.58.82.232 Registrar: CRONON AG BERLIN, NIEDERLASSUNG REGENSBURG Whois Server: whois.tmagnic.net Referral URL: http://nsi-robo.tmag.de Server Name: MICROSOFT.COM.CUZ.I.WANNA.BE.COOL.TOO.TRUEDESIGN.COM IP Address: 65.206.132.248 Registrar: INTERCOSMOS MEDIA GROUP, INC. D/B/A DIRECTNIC.COM Whois Server: whois.directnic.com Referral URL: http://www.directnic.com Server Name: MICROSOFT.COM.CAN.SUCK.MY.SERVEREXTREME.ORG Registrar: VERISIGN GRS (ORG) Whois Server: whois.verisign-grs.com Referral URL: http://www.verisign-grs.com Server Name: MICROSOFT.COM.CAN.GO.FUCK.ITSELF.AT.SECZY.COM IP Address: 209.187.114.147 Registrar: INNERWISE, INC. D/B/A ITSYOURDOMAIN.COM Whois Server: whois.itsyourdomain.com Referral URL: http://www.itsyourdomain.com Server Name: MICROSOFT.COM.CAN.BLOWME.ORG Registrar: VERISIGN GRS (ORG) Whois Server: whois.verisign-grs.com Referral URL: http://www.verisign-grs.com Server Name: MICROSOFT.COM.ARE.GODDAMN.PIGFUCKERS.NET IP Address: 216.127.80.46 Registrar: TUCOWS, INC. Whois Server: whois.opensrs.net Referral URL: http://www.opensrs.org Server Name: MICROSOFT.COM.AND.MINDSUCK.BOTH.SUCK.HUGE.ONES.AT.EXEGETE.NET IP Address: 63.241.136.53 Registrar: DOTSTER, INC. Whois Server: whois.dotster.com Referral URL: http://www.dotster.com Server Name: MICROSOFT.COM.AINT.WORTH.SHIT.KLUGE.ORG Registrar: VERISIGN GRS (ORG) Whois Server: whois.verisign-grs.com Referral URL: http://www.verisign-grs.com Domain Name: MICROSOFT.COM Registrar: NETWORK SOLUTIONS, INC. Whois Server: whois.networksolutions.com Referral URL: http://www.networksolutions.com Name Server: DNS1.CP.MSFT.NET Name Server: DNS1.TK.MSFT.NET Name Server: DNS3.UK.MSFT.NET Name Server: DNS1.DC.MSFT.NET Name Server: DNS1.SJ.MSFT.NET Status: REGISTRAR-LOCK Updated Date: 26-nov-2003 Creation Date: 02-may-1991 Expiration Date: 03-may-2012 >>> Last update of whois database: Thu, 25 Dec 2003 18:29:08 EST <<< NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the expiration date of the domain name registrant's agreement with the sponsoring registrar. Users may consult the sponsoring registrar's Whois database to view the registrar's reported date of expiration for this registration. TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' ("VeriSign") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time. The Registry database contains ONLY .COM, .NET, .EDU domains and Registrars. Found crsnic referral to whois.networksolutions.com. NOTICE AND TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of high-volume, automated, electronic processes. The Data in Network Solutions' WHOIS database is provided by Network Solutions for i nformation purposes only, and to assist persons in obtaining information about or related to a domain name registration record. Network Solutions does not guarantee its a ccuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to Network Solutions (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of Network Solutions. You agree not to use high-volume, automated, electronic processes to access or query the WHOIS database. Network Solutions reserves the right to terminate your access to the WHOIS database in its sole discretion, including without limitation, for excessive querying of the WHOIS database or for failure to otherwise abide by this policy. Network Solutions reserves the right to modify these terms at any time. Registrant: Microsoft Corporation (MICROSOFT-DOM) 1 microsoft way One Microsoft Way redmond, WA 98052 US Domain Name: MICROSOFT.COM Administrative Contact: MICROSOFT CORPORATION (EPMKOEAUSO) msnhst@MICROSOFT.COM One Microsoft Way Redmond, WA 98052 US 425 882 8080 fax: 206 703 2641 Technical Contact: MICROSOFT CORPORATION (EJSEHEQUAO) msnhst@MICROSOFT.COM One Microsoft Way Redmond, WA 98052 US 425-882-8080 Record expires on 03-May-2012. Record created on 02-May-1991. Database last updated on 26-Dec-2003 06:57:26 EST. Domain servers in listed order: DNS1.CP.MSFT.NET 207.46.138.20 DNS1.TK.MSFT.NET 207.46.245.230 DNS3.UK.MSFT.NET 213.199.144.151 DNS1.DC.MSFT.NET 64.4.25.30 DNS1.SJ.MSFT.NET 65.54.248.222
Heh :D
Muistaakseni exec()-funktio ei toimi safemoden ollessa päällä, mutta homman voi hoitaa vaikkapa Perlillä.
Pitipä ihan hetki tuumia että mitäs ihmettä kun näin oman tunnukseni tuossa. Kiitos vaan avusta mutta enää ei ole tarvetta, olisitte auttaneet silloin 1,5v sitten ;)
Aihe on jo aika vanha, joten et voi enää vastata siihen.