Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To single out one record, look it up with "xxx" #47

Open
chase-watts opened this issue Dec 1, 2015 · 1 comment
Open

To single out one record, look it up with "xxx" #47

chase-watts opened this issue Dec 1, 2015 · 1 comment

Comments

@chase-watts
Copy link

When I use your script to search for Google.com or any popular domain, it's just listing a bunch of domains that contain that domain in it. It also has the following message:

To single out one record, look it up with "xxx", where xxx is one of the
records displayed above. If the records are the same, look them up

with "=xxx" to receive a full display for each record.

What needs to be done for it to actually get the whois results for any domain that's entered?

@bendahrooge
Copy link

Typically you need to just simply put a "=" in front of your query, like this:

$domain = '=google.com';
//then lookup in the WHOIS database

By placing a equals symbol in front of the domain name, the WHOIS server will only return the top result and the metadata associated with that result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants