Skip to main content

Module for looking up IPs from Domain Names

Project description

A small python module which accepts a single domain as a string, or multiple domains as a list, and returns a list of associated IPs (from both A record and CNAMEs).

  • For domains with multiple A records (RRDNS), all A record IPs are returned
  • IPv6 AAAA records are currently _NOT_ returned.
  • For domains which are CNAMEs, the IP of the CNAME is returned
  • If you give it an IP, it will return the IP back (so mixed lists are OK too)
pip install iplookup

from iplookup import iplookup

ip = iplookup.iplookup

print(ip([“”, “”]))


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
iplookup-1.0.5.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page