Resolve SRV records

Get priority, weight, port and target for a service. AD, SIP and XMPP use these records

dig +short SRV _sip._tcp.example.com

tool
dig11 commands
tags
digdnsnetwork

More dig commands

  • dig +tcp +ttlunits +noall +answer example.com @8.8.8.8

    Check that TCP/53 works. +ttlunits prints TTL as 1h or 30m instead of raw seconds

  • dig +noall +answer example.com

    Hide headers and stats and print only the answer. Good for scripts and diffs

  • dig +nssearch example.com

    Query each authoritative NS directly. Shows if their SOA serials differ

  • dig axfr @ns1.example.com example.com

    Dumps the whole zone if AXFR is open. Note: if this works on a public NS, it is a misconfiguration

  • dig +dnssec +multi example.com @1.1.1.1

    Show RRSIG records. The AD flag in the flags line means the answer was validated

all 11 dig commands