turbot/net

steampipe plugin install netsteampipe plugin install net

Table: net_dns_record

DNS records associated with a given domain.

Note: A domain must be provided in all queries to this table.

Examples

DNS records for a domain

select
*
from
net_dns_record
where
domain = 'steampipe.io'

List TXT records for a domain

select
value,
ttl
from
net_dns_record
where
domain = 'github.com'
and type = 'TXT'

Mail server records for a domain in priority order

select
target,
priority,
ttl
from
net_dns_record
where
domain = 'turbot.com'
and type = 'MX'
order by
priority

.inspect net_dns_record

DNS records associated with a given domain.

NameTypeDescription
domaintextDomain name for the record.
ipinetIP address for the record, such as for A records.
prioritybigintPriority of the record, such as for MX records.
targettextTarget of the record, such as the target address for CNAME records.
ttlbigintTime To Live in seconds for the record in DNS cache.
typetextType of the DNS record: A, CNAME, MX, etc
valuetextValue of the record, such as the text of a TXT record.