m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/network.md
blob: 1f2945dda4481d5d5f147b2a5ae82f8e4163109b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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