How can I use the whois funktion to search for more the one top lever domian like:

domain.com
domain.net
domain.org
etc.

?

Comments

jd-dupe’s picture

Status: Active » Needs review

Think bug is in function whois_parse_url()
You can remove or replace this function -

function whois_parse_url($url) {
       return $url;
}
helmo’s picture

Title: How to get the whois answer for mor than one top lever domain? » How to get the whois answer for more than one top level domain?

jd: This is not a bug in whois_parse_url()
Currently the whois module only does a single lookup, what xxm proposes would take a name and attempt a lookup on that word in a number of tld's.

I'm not sure that this would make sense for the full lookup presented by version 1.1. The newly introduced 'status only' output method might make this more practical however.

xxm’s picture

Are there any solutions or ideas for a multidomain lookup for the 'status only' output?

helmo’s picture

Status: Needs review » Needs work

It's more a time allocation problem then a lack of ideas.

We could either:
1) Implement it in php, and loop over a list of tld's (which should probably be configurable in some way)

2) Implement it in javascript, and make multiple ajax calls.
Depending on the situation you might want to allow the user to select the tld's to lookup or leave that to an administrator.

I think this second option would make for the best user experience, as the results could be presented while the come in.

Either way, patches would be welcome.

helmo’s picture

Status: Needs work » Postponed (maintainer needs more info)

[Stock response from Dreditor templates and macros.]

Please provide more information to move this issue forward or close it when no longer relevant.