How to Fix WHOIS Error - Lookup Error for .in Domains in WHMCS (Simple Guide) Quick Fix
Are you getting this error in your WHMCS?
**WHOIS Lookup Error for 'example.in': Error: 0 - php_network_getaddresses: getaddrinfo for whois.registry.in failed: Name or service not known**
This usually happens when WHMCS is trying to connect to the wrong WHOIS server for .in domains.
Donโt worry โ this is a common issue and very easy to fix!
Decoding WHMCS Lightbox Loading Image Glitches in the Footer
Step-by-Step Guide to Fix WHOIS Error for .in Domains
๐ข Step 1: Open File Manager or SSH
If you're using cPanel or any control panel, open your File Manager.
Or, if you're using SSH, log into your server.
๐ Step 2: Go to This Path
Navigate to the following path inside your WHMCS directory:
/resources/domains/dist.whois.json
This is the file where WHOIS server information is stored.
๐ Step 3: Open and Edit dist.whois.json
Look for this section (or if itโs not there, add it):
{
"extensions": ".ac.in,.co.in,.org.in,.ernet.in,.gov.in,.net.in,.res.in,.in",
"uri": "socket://whois.registry.in",
"available": "No Data Found"
},
Replace this old Code
To this new Json Code :
{
"extensions": ".ac.in,.co.in,.org.in,.ernet.in,.gov.in,.net.in,.res.in,.in",
"uri": "socket://whois.nixiregistry.in",
"available": "is available for registration"
}
##๐ Step 4: Save the File
Once youโve replaced or added the new .in configuration, save the file.
Thatโs it! No need to restart WHMCS โ the change will take effect immediately.
##๐ฏ Final Words
Fixing WHOIS lookup errors in WHMCS is easy when you know where to look. This fix works for all .in domains like:
.co.in
.org.in
.gov.in
.ernet.in and more...
If this helped you, feel free to share it with other WHMCS users or save it for future use.
๐ Need Server Support? Start with MyServerhelper!
Get expert assistance for cPanel, Plesk, VPS, and dedicated servers โ all under one roof.
Whether it's setup, migration, optimization, or emergency support, weโve got your back 24/7.
Join hundreds of businesses who trust MyServerHelper for reliable, hassle-free server management!