HUB
Sign inSign up

gcleaves/domain-info

By gcleaves

•Updated almost 2 years ago

Endpoint to get basic domain info such as DNS, host, creation date.

Image
Web analytics
0

1.3K

gcleaves/domain-info repository overview

Highly untested and fragile query to RDAP endpoints and Google DNS to gather domain info. Listens on port 4000.

Example: docker run -d --name domain-info -p 4000:4000 gcleaves/domain-info

curl http://localhost:4000/domain-info/www.example.com
{
  "domain": "example.com",
  "registrant": {},
  "registrar": {
    "fn": "RESERVED-Internet Assigned Numbers Authority",
    "id": "376"
  },
  "nameservers": [
    "A.IANA-SERVERS.NET",
    "B.IANA-SERVERS.NET"
  ],
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-08-14T04:00:00Z"
    },
    {
      "eventAction": "expiration",
      "eventDate": "2024-08-13T04:00:00Z"
    },
    {
      "eventAction": "last changed",
      "eventDate": "2023-08-14T07:01:38Z"
    },
    {
      "eventAction": "last update of RDAP database",
      "eventDate": "2024-04-28T15:47:16Z"
    }
  ],
  "ip": [
    "93.184.215.14"
  ],
  "mx": {
    "host": [],
    "domain": [
      "0 ."
    ]
  },
  "host": {
    "fn": "MNT-EDGECAST",
    "id": "MNT-EDGECAST"
  }
}
Tag summary
Recent tags
Content type
Image
Digest
sha256:e08f240b3…
Size
99.9 MB
Last updated
almost 2 years ago
docker pull gcleaves/domain-info:latest