steampipe plugin install francois2metz/gandi

Table: gandi_domain

The gandi_domain table can be used to query information about your domains.

Examples

List domains

select
fqdn
from
gandi_domain;

List domains without auto renew set

select
fqdn
from
gandi_domain
where
auto_renew = false;

List domains expiring in less than one month

select
fqdn
from
gandi_domain
where
dates_registry_ends_at < now() + interval '1 month';

List domains using classic namervers

select
fqdn
from
gandi_domain
where
livedns_current = 'classic';

Schema for gandi_domain

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
auto_renewbooleanAutomatic renewal status.
dates_created_attimestamp with time zoneThe date the domain started to be handled by Gandi.
dates_deletes_attimestamp with time zoneThe date on which the domain will be deleted at the registry.
dates_hold_begins_attimestamp with time zoneThe date from which the domain is held.
dates_hold_ends_attimestamp with time zoneThe date from which the domain can’t be renewed anymore (the domain can be restored if the registry supports redemption period otherwise the domain might be destroyed at Gandi at that date).
dates_pending_delete_ends_attimestamp with time zoneThe date from which the domain will be available after a deletion.
dates_registry_created_attimestamp with time zoneThe date the domain was created on the registry.
dates_registry_ends_attimestamp with time zoneThe date the domain will end at the registry.
dates_updated_attimestamp with time zoneThe last update date.
dnssec_availablebooleanIndicates if DNSSEC may be applied to the domain.
domain_ownertextThe full name of the owner.
fqdntextFully qualified domain name, written in its native alphabet (IDN).
fqdn_unicodetextFully qualified domain name, written in unicode.
idtextUnique id of the domain.
livedns_currenttextType of nameservers currently set. classic corresponds to Gandi's classic nameservers, livedns is for the new, default, Gandi nameservers, premium_dns indicates the presence of Gandi's Premium DNS nameserver and the corresponding service subscription, and other is for custom nameservers.
livednssec_availablebooleanIndicates if DNSSEC with liveDNS may be applied to this domain.
nameserversjsonbList of current nameservers.
orga_ownertextThe username of the organization owner.
ownertextThe username of the owner.
sharing_idtextThe id of the organization.
statusjsonbThe status of the domain.
tagsjsonbTags associated to this domain.
tldtextThe top-level domain.