steampipe plugin install linode

Table: linode_domain - Query Linode Domains using SQL

Linode Domains is a service within Linode that allows you to manage and configure domain and subdomain records for your websites. It provides a centralized way to set up and manage DNS records for various Linode resources, including virtual machines, databases, web applications, and more. Linode Domains helps you stay informed about the health and performance of your DNS configurations and take appropriate actions when predefined conditions are met.

Table Usage Guide

The linode_domain table provides insights into Domains within Linode. As a DevOps engineer, explore domain-specific details through this table, including domain and subdomain records, TTL values, and associated metadata. Utilize it to uncover information about domains, such as those with misconfigured DNS records, the relationships between domains and subdomains, and the verification of TTL values.

Examples

List all domains

Explore all the domains available in your Linode account. This can help in managing and organizing your resources effectively.

select
*
from
linode_domain;
select
*
from
linode_domain;

Domains with a given tag

Discover the segments that are tagged with a specific label, enabling you to organize and manage your resources more effectively. This is particularly useful when you need to perform actions on a group of resources that share a common tag.

select
domain,
tags
from
linode_volume
where
tags ? 'foo'
Error: SQLite does not support '?' operator for checking the existence of a key in a JSON object.

Schema for linode_domain

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
axfr_ipsjsonbThe list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
descriptiontextA description for this Domain. This is for display purposes only.
domaintext=The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
domain_typetextIf this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
euuidtextAn external unique identifier for this account.
expire_secbigintThe amount of time in seconds that may pass before this Domain is no longer authoritative.
filtertext=Raw Linode list filter string in JSON format.
idbigint=The unique ID of this Domain.
master_ipsjsonbThe IP addresses representing the master DNS for this Domain.
refresh_secbigintThe amount of time in seconds before this Domain should be refreshed.
retry_secbigintThe interval, in seconds, at which a failed refresh should be retried.
soa_emailtextStart of Authority email address. This is required for master Domains.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
statustextUsed to control whether this Domain is currently being rendered: disabled, active, edit_mode, has_errors.
tagsjsonbTags applied to this domain as a map.
tags_srcjsonbList of Tags applied to this domain.
ttl_secbigintTime to Live - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain 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)" -- linode

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

steampipe_export_linode --config '<your_config>' linode_domain