diggy - v1.1.5
    Preparing search index...

    Function toDnsRecord

    • Converts input data to a DNS record format. This function takes a name, type, optional TTL, and data, and returns an object representing a DNS record.

      Parameters

      • name: { data: InputData; name: string; ttl?: number; type: string }

        The name of the DNS record, e.g., "example.com".

      Returns AnyDNSRecord