{% extends "base.html" %} {% import "helpers.html" as helper %} {% block title %}{{ data.result.address }}{% endblock %} {% block og_title %}Lookup {{ data.result.address }}{% endblock %} {% block h1 %}Lookup {{ data.result.address }}{% endblock %} {% block og_path %}/ip/{{ data.result.address }}{% endblock %} {% block content %} {% set r = data.result %}

Network Information

Type of Address
{{r.ip_info.scope}} {{r.ip_info.cast}} IPv{% if r.ip_info.is_v6_address %}6{% else %}4{% endif %}
{% if r.hostname %} Hostname
{{ helper::dig(extra=extra, name=r.hostname) }}
{% endif %} {% if r.asn %} ASN
AS{{r.asn.asn}}
AS Name
{{ r.asn.name }}
{% endif %}
{% if r.location %}

Geolocation

{{ helper::place_dl(place=r.location.continent, label="Continent") }} {{ helper::place_dl(place=r.location.country, label="Country") }} {{ helper::place_dl(place=r.location.registered_country, label="Registred in") }} {{ helper::place_dl(place=r.location.represented_country, label="Represents") }} {% if r.location.subdivisions %} {% for sd in r.location.subdivisions %} {{ helper::place_dl(place=sd, label="Subdivision", iso_code_prefix=r.location.country.iso_code|default(value="")) }} {% endfor %} {% endif %} {{ helper::place_dl(place=r.location.city, label="City") }} {% if r.location.postal_code %} Postal Code
{{r.location.postal_code}}
{% endif %} {% if r.location.time_zone %} Timezone
{{r.location.time_zone}}
{% endif %}

The GeopIP and ASN information is provided by the GeoLite2 database created by MaxMind.

{% endif %} {% block extra_content %}{% endblock %} {% endblock %}