Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. `netstat -tp` -- that'll show you TCP connections and the associated program, doing a DNS lookup for the IPs they're connected to.

`netstat -tp` -- that'll show you TCP connections and the associated program, doing a DNS lookup for the IPs they're connected to.

Scheduled Pinned Locked Moved Selfhosted
2 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • e0qdk@reddthat.comE This user is from outside of this forum
    e0qdk@reddthat.comE This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    netstat -tp -- that'll show you TCP connections and the associated program, doing a DNS lookup for the IPs they're connected to. You may need elevated permissions to see what some processes are.

    There are a bunch of other options (e.g. -n to get numeric output instead of looking up names, -l to get programs listening for incoming connections, etc); check the man pages for more details.

    I 1 Reply Last reply
    3
    • e0qdk@reddthat.comE [email protected]

      netstat -tp -- that'll show you TCP connections and the associated program, doing a DNS lookup for the IPs they're connected to. You may need elevated permissions to see what some processes are.

      There are a bunch of other options (e.g. -n to get numeric output instead of looking up names, -l to get programs listening for incoming connections, etc); check the man pages for more details.

      I This user is from outside of this forum
      I This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      Most DNS queries are UDP.

      I'd do a modified scream test and change old.domain to something like 1.2.3.4. Then run sudo netstat or ss with -tpn, grepping for 1.2.3.4.

      Or something like grep -r old.domain /etc.

      1 Reply Last reply
      3
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups