Jump to content

Extending WHOIS Query


killerloop

Recommended Posts

Hi,

 

when I use the WHOIS Query from whmcs I only get the following information:

 

WHOIS Output

Domain: domainname.com
Status: connect

 

Is this supposed to be all? Or am I having another problem?

I'd like to extend the query for sth. like in the following example but the [whoisfunctions.php] is encoded :?

% Copyright (c)2006 by DENIC
% Version: 1.07.1
%
% Restricted rights.
%
%
% Terms and Conditions of Use
%
% All the domain data that is visible in the whois search is protected
% by law. It is not permitted to use it for any purpose other than
% technical or administrative requirements associated with the
% operation of the Internet or in order to contact the domain holder
% over legal problems. You are not permitted to save it electronically
% or in any other way without DENIC's express written permission. It
% is prohibited, in particular, to use it for advertising or any similar
% purpose.
%
% By maintaining the connection you assure that you have a legitimate
% interest in the data and that you will only use it for the stated
% purposes. You are aware that DENIC maintains the right to initiate
% legal proceedings against you in the event of any breach of this
% assurance and to bar you from using its whois query.

Domain:      dopoly.de
Domain-Ace:  dopoly.de
Nserver:     ns1.dopoly.de 62.146.28.82
Nserver:     ns2.dopoly.de 62.146.33.101
Nserver:     ns3.dopoly.de 62.146.33.102
Status:      connect
Changed:     2006-12-15T16:27:01+01:00

[Holder]
Type:         ORG
Name:         dopoly GmbH
Address:      Gautinger Str. 10
Pcode:        82319
City:         Starnberg
Country:      DE
Changed:      2006-12-15T15:21:44+01:00

[Admin-C]
Type:         PERSON
Name:         Florian Huber
Organisation: Dopoly GmbH
Address:      Gautinger Str. 10
Pcode:        82319
City:         Starnberg
Country:      DE
Phone:        +49 8151 368 67 30
Fax:          +49 8151 368 67 39
Email:        [email]info@dopoly.de[/email]
Changed:      2005-07-20T10:36:19+02:00

[Tech-C]
Type:         ROLE
Name:         dopoly Hostmaster
Address:      Gautinger Str. 10
Pcode:        82319
City:         Starnberg
Country:      DE
Phone:        +49 8151 368 67 30
Fax:          +49 8151 368 67 39
Email:        [email]hostmaster@dopoly.de[/email]
Changed:      2005-07-21T14:25:08+02:00

[Zone-C]
Type:         ROLE
Name:         dopoly Hostmaster
Address:      Gautinger Str. 10
Pcode:        82319
City:         Starnberg
Country:      DE
Phone:        +49 8151 368 67 30
Fax:          +49 8151 368 67 39
Email:        [email]hostmaster@dopoly.de[/email]
Changed:      2005-07-21T14:25:08+02:00

 

Is there a possibilty to get this file decoded?

 

regards,

loopy

Link to comment
Share on other sites

  • WHMCS CEO

You don't need that file decoded. You are seeing all the information that is returned from the WHOIS server being used. Sounds like what you want to do is use a different whois server in which case you should edit the whois server listed in the whoisservers.php file.

 

Matt

Link to comment
Share on other sites

Hi Matt,

 

well I did it. I replaced the server for the german WHOIS-Query with whois.denic.de. The entry looks like the following:

.de|whois.denic.de|free

 

As result I get:

WHOIS Output

 

Domain: ebay.de

Status: connect

 

I use the same WHOIS-Server with another script and my output looks like the following:

% Copyright ©2006 by DENIC

% Version: 1.07.1

%

% Restricted rights.

%

%

% Terms and Conditions of Use

%

% All the domain data that is visible in the whois search is protected

% by law. It is not permitted to use it for any purpose other than

% technical or administrative requirements associated with the

% operation of the Internet or in order to contact the domain holder

% over legal problems. You are not permitted to save it electronically

% or in any other way without DENIC's express written permission. It

% is prohibited, in particular, to use it for advertising or any similar

% purpose.

%

% By maintaining the connection you assure that you have a legitimate

% interest in the data and that you will only use it for the stated

% purposes. You are aware that DENIC maintains the right to initiate

% legal proceedings against you in the event of any breach of this

% assurance and to bar you from using its whois query.

 

Domain: ebay.de

Domain-Ace: ebay.de

Nserver: sjc-dns1.ebaydns.com

Nserver: smf-dns1.ebaydns.com

Nserver: sjc-dns2.ebaydns.com

Nserver: smf-dns2.ebaydns.com

Status: connect

Changed: 2007-04-02T21:03:12+02:00

 

[Holder]

Type: PERSON

Name: Ryan Quick

Organisation: Ebay

Address: 2145 Hamilton Avenue

Pcode: 95125

City: San Jose

Country: US

Changed: 2006-12-05T21:20:53+01:00

 

[Admin-C]

Type: PERSON

Name: Joerg Rheinboldt

Address: EBay GmbH

Address: Markplatz 1

Address: Albert-Einstein-Ring 1

Address: Europarc

Pcode: 14532

City: Dreilinden

Country: DE

Changed: 2004-05-05T14:32:38+02:00

 

[Tech-C]

Type: PERSON

Name: Ryan Quick

Address: Ebay

Address: 2145 Hamilton Avenue

Pcode: 94043

City: San Jose

Country: US

Phone: +14083767400

Fax: +14083767514

Email: hostmaster@ebay.com

Changed: 2004-05-05T14:32:27+02:00

 

[Zone-C]

Type: PERSON

Name: Ryan Quick

Address: Ebay

Address: 2145 Hamilton Avenue

Pcode: 95125

City: San Jose

Country: US

Phone: +14083767400

Fax: +14083767514

Email: hostmaster@ebay.com

Changed: 2004-05-05T14:32:28+02:00

:roll:

 

loopy

Link to comment
Share on other sites

killerloop, that's because the whois provided by WHMCS doesn't use switches for each domain whois lookup.

 

for Germany, to get all the info, including IDN domains, you need to use a switch:

 

-T dn

 

so your whois would look like:

 

whois -h whois.denic.de -T dn dom.de

 

instead of what WHMCS whois uses:

 

whois -h whois.denic.de dom.de

Link to comment
Share on other sites

  • 2 weeks later...

Hi Trine and thanks for your help :o

 

Well,

 

I just want to offer our customers a full whois-report when they are searching and buying a domain. And as we bought whmcs (still in testing though) I want to use the integrated and great functions (whois-function for example) provided by whmcs.

 

is there no possibilty laying hands on the whois-script?

 

:shock:

 

I just want to customize it for the needs of our customers :\

 

regards,

loopy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated