m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-11-25 21:21:08 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-11-25 21:21:08 +0100
commit33921b69b45d4f41d18571416be2c255ce4ebddf (patch)
tree744e96e870ce80a2e088e3f564cf3c421f57113d
parentcfccb7b53cefdf107178657d2e3d26fe45853ce3 (diff)
Add general networking sheet
-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