/dothost

DNS lookup with Graphviz output

Primary LanguagePythonMIT LicenseMIT

Overview

dothost is a DNS lookup utility, which produces output in Graphviz format.

Example

$ dothost www.iana.org | graph-easy --as boxart

       ┌─────────────────────────┐
       ∨                         │
     ┏━━━━━━━━━━━━━━━━━━━┓     ┌────────────┐
  ┌> ┃   www.iana.org    ┃ ──> │ 192.0.32.8 │
  │  ┗━━━━━━━━━━━━━━━━━━━┛     └────────────┘
  │    │
  │    │
  │    ∨
  │  ┌───────────────────┐
  └─ │ 2620:0:2d0:200::8 │
     └───────────────────┘

Prerequisites

  • Python ≥ 3.7