{% set r = data.result %} {% set q = data.query %} Dig: {{ q.name }}

Lookup for: {{ q.name }}

{% if r.a %}

A (IPv4) records:

{% else %}

No A (IPv4) Records.

{% endif %} {% if r.aaaa %}

AAAA (IPv6) records:

{% else %}

No AAAA (IPv6) Records.

{% endif %} {% if r.mx %}

MX (Mail Exchange) records:

{% else %}

No MX (Mail Exchange) records.

{% endif %}