Skip to Main Content
Liongard Library

Welcome to Liongard Library, where Lions share! This is a community-led space where Liongard users can come to teach and learn from one another.
Share custom Metrics, get inspired and see what’s trending in the Pride.

Pride Etiquette:
➕ Have great custom Metrics? Add them as entries!
🌟 Want to use a Metric? Copy the query and
follow this doc.
👍 Tried a Metric from the Library? Like it!
📣 Have a question or feedback on a Metric? Add a comment!
🔎 Not sure where to start? Learn about Metrics and how to write them.
💬 Need help writing a metric or want to help support others? Join the conversation in our Liongard Lounge #metrics slack channel.


🥴 See something off? Open a support chat to let us know.

Categories Internet Domain/DNS
Created by Lamont Largie
Created on Dec 9, 2024

Internet Domain/DNS: External DNS Summary

Category: Domain Management and DNS Records

Description:

This metric provides a comprehensive summary of DNS records for domains managed in the Internet Domain/DNS inspector. It retrieves and organizes details for A, TXT, MX, NS, and SOA records, including the name, record type, and time-to-live (TTL) values.

Purpose:

  • To provide a full overview of DNS configurations for domains, ensuring proper record management.

  • To assist with troubleshooting and validating DNS settings across various record types.

  • To maintain compliance with organizational or client DNS policies by offering visibility into all DNS records.

How it Works:

  • Queries the following DNS record types and extracts details:

    • A Records: Includes Name, Type, and TTL.

    • TXT Records: Includes Name, Type, and TTL.

    • MX Records: Includes Name, Type, and TTL.

    • NS Records: Includes Name, Type, and TTL.

    • SOA Records: Includes Name, Type, and TTL.

  • Outputs the results in a structured, labeled format with separators for each record type.

Beneficiaries:

  • IT Administrators: To validate and manage DNS configurations across various record types.

  • Network Engineers: For troubleshooting DNS issues with detailed insights into records.

  • Compliance Teams: To ensure DNS records align with organizational policies and best practices.

Query

['-DNS A Records-'DNSARecords[].[['Name:'Name],['Type:'RecordType],['Time To Live:'TTL]][],['--'],['-DNS TXT Records-'DNSTXTRecords[].[['Name:'Name],['Type:'RecordType],['Time To Live:'TTL]]][][],['--'],['-DNS MX Records-'DNSMXRecords[].[['Name:'Name],['Type:'RecordType],['Time To Live:'TTL]]][][],['--'],['-DNS NS Records-'DNSNSRecords[].[['Name:'Name],['Type:'RecordType],['Time To Live:'TTL]]][][],['--'],['-DNS SOA Records-'DNSSOARecords[].[['Name:'Name],['Type:'RecordType],['Time To Live:'TTL]]][][]][]

  • Attach files
  • Andrew Minga
    Reply
    |
    Dec 18, 2024

    Is there a way to add the "data" value to the query? All of the provided information is great, but not knowing the data, such as the IP the A record is pointed to, defeats the purpose for my needs.