steampipe plugin install godaddy

Table: godaddy_domain - Query GoDaddy Domains using SQL

GoDaddy is a popular web hosting and domain registrar company. Domains in GoDaddy represent the unique web addresses or URLs purchased by users. These domains are essential for establishing an online presence, and their management includes details such as domain name, status, and expiration date.

Table Usage Guide

The godaddy_domain table provides insights into Domains within GoDaddy. As a Web Administrator, explore domain-specific details through this table, including domain name, status, and expiration date. Use it to manage your domains effectively, such as those nearing expiration, and to stay ahead of domain renewals.

Examples

Basic info

Gain insights into the creation, deletion, and expiration timelines of domains. This can be useful for managing domain lifecycles and identifying when domains are eligible for transfer.

select
domain,
domain_id,
created_at,
deleted_at,
transfer_away_eligibile_at,
expires
from
godaddy_domain;
select
domain,
domain_id,
created_at,
deleted_at,
transfer_away_eligibile_at,
expires
from
godaddy_domain;

List domains that have privacy protection enabled

Determine the areas in which domains have privacy protection enabled. This can be useful for assessing the security measures in place and ensuring the safeguarding of sensitive information.

select
domain,
domain_id,
created_at,
expiration_protected,
privacy
from
godaddy_domain
where
privacy;
select
domain,
domain_id,
created_at,
expiration_protected,
privacy
from
godaddy_domain
where
privacy = 1;

List domains that are locked

Identify domains that have been locked, which can be useful for maintaining security and control over domain ownership and transfers.

select
domain,
expiration_protected,
hold_registrar,
locked
from
godaddy_domain
where
locked;
select
domain,
expiration_protected,
hold_registrar,
locked
from
godaddy_domain
where
locked = 1;

List renewable domains

Explore which domains are renewable to manage and maintain your online presence efficiently. This is beneficial for planning renewals in advance and avoiding unexpected expiration of important domains.

select
domain,
domain_id,
status,
created_at
from
godaddy_domain
where
renewable;
select
domain,
domain_id,
status,
created_at
from
godaddy_domain
where
renewable = 1;

List inactive domains

Discover the segments that consist of inactive domains, which can help in identifying those that are not currently in use or have expired. This information can be beneficial for domain management, enabling you to assess the status of your domains and take necessary actions such as renewals or transfers.

select
domain,
auth_code,
transfer_away_eligibile_at,
expires,
status
from
godaddy_domain
where
status <> 'ACTIVE';
select
domain,
auth_code,
transfer_away_eligibile_at,
expires,
status
from
godaddy_domain
where
status <> 'ACTIVE';

List domains that are eligible for transfer at the moment

Explore domains that are currently eligible for transfer. This query can be used to assess which domains can be moved away from their current registrar, providing insights for strategic domain management.

select
domain,
domain_id,
created_at,
transfer_away_eligibile_at,
renew_auto
from
godaddy_domain
where
transfer_away_eligibile_at < now();
select
domain,
domain_id,
created_at,
transfer_away_eligibile_at,
renew_auto
from
godaddy_domain
where
transfer_away_eligibile_at < datetime('now');

List domains that will expire after a particular date

Discover the segments that have domain registrations set to expire after a specific date. This is useful for planning renewals and preventing accidental domain loss.

select
domain,
transfer_protected,
renew_deadline,
renew_auto,
expires
from
godaddy_domain
where
expires > '2023-12-31';
select
domain,
transfer_protected,
renew_deadline,
renew_auto,
expires
from
godaddy_domain
where
expires > '2023-12-31';

List domains created in the last 30 days

Explore which domains have been established in the recent month. This can be useful for monitoring the creation of new domains and ensuring they are properly protected and registered.

select
domain,
domain_id,
created_at,
expiration_protected,
hold_registrar,
subaccount_id
from
godaddy_domain
where
created_at >= now() - interval '30' day;
select
domain,
domain_id,
created_at,
expiration_protected,
hold_registrar,
subaccount_id
from
godaddy_domain
where
created_at >= datetime('now', '-30 day');

Get nameservers of each domain

Discover the nameservers associated with each domain to better understand your domain's configuration and manage DNS settings more effectively. This can be particularly useful in identifying potential issues or inconsistencies in your DNS setup.

select
domain,
domain_id,
n as nameserver
from
godaddy_domain,
jsonb_array_elements_text(nameservers) as n;
select
domain,
domain_id,
n.value as nameserver
from
godaddy_domain,
json_each(nameservers) as n;

Get domain admin contact details of each domain

Discover the contact details for the administrators of each domain, including their job title, name, organization, and mailing address. This information is useful for direct communication with the domain admin or for auditing purposes.

select
domain,
domain_contacts_admin ->> 'Fax' as domain_contacts_admin_fax,
domain_contacts_admin ->> 'Email' as domain_contacts_admin_email,
domain_contacts_admin ->> 'Phone' as domain_contacts_admin_phone,
domain_contacts_admin ->> 'JobTitle' as domain_contacts_admin_job_title,
domain_contacts_admin ->> 'NameLast' as domain_contacts_admin_name_last,
domain_contacts_admin ->> 'NameFirst' as domain_contacts_admin_name_first,
domain_contacts_admin ->> 'NameMiddle' as domain_contacts_admin_name_middle,
domain_contacts_admin ->> 'Organization' as domain_contacts_admin_Organization,
domain_contacts_admin ->> 'AddressMailing' as domain_contacts_admin_address_mailing
from
godaddy_domain;
select
domain,
json_extract(domain_contacts_admin, '$.Fax') as domain_contacts_admin_fax,
json_extract(domain_contacts_admin, '$.Email') as domain_contacts_admin_email,
json_extract(domain_contacts_admin, '$.Phone') as domain_contacts_admin_phone,
json_extract(domain_contacts_admin, '$.JobTitle') as domain_contacts_admin_job_title,
json_extract(domain_contacts_admin, '$.NameLast') as domain_contacts_admin_name_last,
json_extract(domain_contacts_admin, '$.NameFirst') as domain_contacts_admin_name_first,
json_extract(domain_contacts_admin, '$.NameMiddle') as domain_contacts_admin_name_middle,
json_extract(domain_contacts_admin, '$.Organization') as domain_contacts_admin_Organization,
json_extract(domain_contacts_admin, '$.AddressMailing') as domain_contacts_admin_address_mailing
from
godaddy_domain;

Get verification details of each domain

Explore the verification status of each domain to understand which domains have completed the verification process and which are still pending. This can be useful in maintaining domain authenticity and ensuring all domains are verified as per the requirements.

select
domain,
domain_id,
created_at,
verifications -> 'DomainName' ->> 'Status' as verfivication_domain_name,
verifications -> 'RealName' ->> 'Status' as verfivication_real_name
from
godaddy_domain;
select
domain,
domain_id,
created_at,
json_extract(verifications, '$.DomainName.Status') as verfivication_domain_name,
json_extract(verifications, '$.RealName.Status') as verfivication_real_name
from
godaddy_domain;

Schema for godaddy_domain

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
auth_codetextAuthorization code for transferring the Domain.
created_attimestamp with time zoneThe date and time when the domain was created as found in the response to a WHOIS query.
deleted_attimestamp with time zoneDate and time when this domain was deleted.
domaintext=The name of the domain.
domain_contacts_adminjsonbThe domain admin contact details.
domain_contacts_billingjsonbThe billing contact details.
domain_contacts_registrantjsonbProvides details about the domain registrant.
domain_contacts_techjsonbProvides details about the domain technical contact.
domain_idbigintThe ID of the domain.
expiration_protectedbooleanSpecifies whether the domain is protected from expiration.
expirestimestamp with time zoneThe date when the registration for the domain is set to expire. The date and time is in Unix time format and Coordinated Universal time (UTC)
hold_registrarbooleanSpecifies whether the domain is on-hold by the registrar.
lockedbooleanIndicates whether a domain is locked from unauthorized transfer to another party.
nameserversjsonbFully-qualified domain names for DNS servers.
privacybooleanSpecifies whether the domain has privacy protection.
renew_autobooleanIndicates whether the domain is automatically renewed upon expiration.
renew_deadlinetimestamp with time zoneSpecifies whether renew deadline is set on the domain.
renewablebooleanSpecifies whether the domain is eligible for renewal based on status.
statustext=The processing status of the domain.
subaccount_idtextThe sub account ID of the domain.
titletextTitle of the resource.
transfer_away_eligibile_attimestamp with time zoneDate and time when this domain is eligible to transfer.
transfer_protectedbooleanSpecifies whether the domain is protected from transfer.
verificationsjsonbFully-qualified domain names for DNS servers.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- godaddy

You can pass the configuration to the command with the --config argument:

steampipe_export_godaddy --config '<your_config>' godaddy_domain