m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/network.md b/network.md
new file mode 100644
index 0000000..1f2945d
--- /dev/null
+++ b/network.md
@@ -0,0 +1,19 @@
+# Basic networking operations
+
+## Find process binding a port
+
+ # specifically tcp
+ lsof -i tcp:8000
+ # any protocol
+ lsof -i :8000
+
+## DNS
+
+DNS lookup:
+
+ drill <hostname> [record type]
+
+
+So to lookup TXT records,
+
+ drill host.com TXT