Skip to content

🔮 Get domain information such as: ip, asn, organiazcion, country code, nameservers, mx records...

Notifications You must be signed in to change notification settings

christivn/domainInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

from domainInfo import *

domain = "google.com"
print(getDomainInfo(domain))

Response:

{
 'domain': 'google.com', 
 'ip': '172.217.17.14', 
 'asn': 'AS15169', 
 'org': 'GOOGLE', 
 'country_code': 'US', 
 'ns': ['ns3.google.com.', 'ns1.google.com.', 'ns2.google.com.', 'ns4.google.com.'], 
 'mx': ['smtp.google.com.']
}