{%- macro render_result_hostname(pdnsr_result) %}
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover table-sm table-responsive" style="margin-bottom: 0rem">
                        <thead>
                            <tr>
                                <th></th>
                                <th>
                                    {{ _('IP/Alias') }}
                                </th>
                                <th>
                                    {{ get_icon('domain') }} {{ _('Domain') }}
                                </th>
                                <th>
                                    {{ _('RTYPE') }}
                                </th>
                                <th>
                                    {{ get_icon('time-from') }} {{ _('First seen') }}
                                </th>
                                <th>
                                    {{ get_icon('time-to') }} {{ _('Last seen') }}
                                </th>
                                <th>
                                    {{ get_icon('cnt') }} {{ _('Count') }}
                                </th>
                            </tr>
                        </thead>
                        <tbody>
            {%- for sritem in pdnsr_result %}
                            <tr>
                                <td>{{ loop.index }}</td>
                                <td>{{ sritem.get('ip', sritem.get('alias', get_icon('unassigned'))) }}</td>
                                <td>{{ sritem.get('domain', get_icon('unassigned')) }}</td>
                                <td>{{ sritem.get('rtype', get_icon('unassigned')) }}</td>
                                <td>{{ sritem.get('time_first', get_icon('unassigned')) }}</td>
                                <td>{{ sritem.get('time_last', get_icon('unassigned')) }}</td>
                                <td>{{ sritem.get('count', get_icon('unassigned')) }}</td>
                            </tr>
            {%- endfor %}
                        </tbody>
                    </table>
                </div>
{%- endmacro %}

{%- macro get_title() -%}
    {{ get_icon('module-pdnsr') }} {{ _('PassiveDNS') }}
{%- endmacro %}
