Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Use dig and traceroute on Linux

When a domain fails to resolve or latency spikes, dig inspects DNS and traceroute/mtr show where packets go.

Steps

  1. Install the tools if missing:

    sudo apt update
    sudo apt install -y dnsutils traceroute mtr-tiny
  2. Basic DNS lookups:

    dig yourdomain.com A
    dig yourdomain.com NS +short
    dig @1.1.1.1 yourdomain.com A
  3. Trace the path to a host:

    traceroute -n 1.1.1.1
    mtr -rwz 1.1.1.1

Tips

  • Compare dig @1.1.1.1 with the local resolver — if only local fails, check cache/resolv.conf.
  • Many hops with * often mean ICMP filtering, not always real loss.

ext step

Debug from a clean-IP VPS: Deploy your Cloud VPS.

Related guides