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, expiresfrom godaddy_domain;
select domain, domain_id, created_at, deleted_at, transfer_away_eligibile_at, expiresfrom 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, privacyfrom godaddy_domainwhere privacy;
select domain, domain_id, created_at, expiration_protected, privacyfrom godaddy_domainwhere 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, lockedfrom godaddy_domainwhere locked;
select domain, expiration_protected, hold_registrar, lockedfrom godaddy_domainwhere 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_atfrom godaddy_domainwhere renewable;
select domain, domain_id, status, created_atfrom godaddy_domainwhere 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, statusfrom godaddy_domainwhere status <> 'ACTIVE';
select domain, auth_code, transfer_away_eligibile_at, expires, statusfrom godaddy_domainwhere 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_autofrom godaddy_domainwhere transfer_away_eligibile_at < now();
select domain, domain_id, created_at, transfer_away_eligibile_at, renew_autofrom godaddy_domainwhere 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, expiresfrom godaddy_domainwhere expires > '2023-12-31';
select domain, transfer_protected, renew_deadline, renew_auto, expiresfrom godaddy_domainwhere 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_idfrom godaddy_domainwhere created_at >= now() - interval '30' day;
select domain, domain_id, created_at, expiration_protected, hold_registrar, subaccount_idfrom godaddy_domainwhere 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 nameserverfrom godaddy_domain, jsonb_array_elements_text(nameservers) as n;
select domain, domain_id, n.value as nameserverfrom 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_mailingfrom 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_mailingfrom 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_namefrom 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_namefrom godaddy_domain;
Schema for godaddy_domain
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
auth_code | text | Authorization code for transferring the Domain. | |
created_at | timestamp with time zone | The date and time when the domain was created as found in the response to a WHOIS query. | |
deleted_at | timestamp with time zone | Date and time when this domain was deleted. | |
domain | text | = | The name of the domain. |
domain_contacts_admin | jsonb | The domain admin contact details. | |
domain_contacts_billing | jsonb | The billing contact details. | |
domain_contacts_registrant | jsonb | Provides details about the domain registrant. | |
domain_contacts_tech | jsonb | Provides details about the domain technical contact. | |
domain_id | bigint | The ID of the domain. | |
expiration_protected | boolean | Specifies whether the domain is protected from expiration. | |
expires | timestamp with time zone | The 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_registrar | boolean | Specifies whether the domain is on-hold by the registrar. | |
locked | boolean | Indicates whether a domain is locked from unauthorized transfer to another party. | |
nameservers | jsonb | Fully-qualified domain names for DNS servers. | |
privacy | boolean | Specifies whether the domain has privacy protection. | |
renew_auto | boolean | Indicates whether the domain is automatically renewed upon expiration. | |
renew_deadline | timestamp with time zone | Specifies whether renew deadline is set on the domain. | |
renewable | boolean | Specifies whether the domain is eligible for renewal based on status. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | = | The processing status of the domain. |
subaccount_id | text | The sub account ID of the domain. | |
title | text | Title of the resource. | |
transfer_away_eligibile_at | timestamp with time zone | Date and time when this domain is eligible to transfer. | |
transfer_protected | boolean | Specifies whether the domain is protected from transfer. | |
verifications | jsonb | Fully-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