Hi everyone,
this is not an Home Networking question, nor a career/certificate one, so idk exactly where to ask it. How would you record the domain your DNS requests? I'm actually using tcpdump with a regular expression, but maybe there are better ways (as I'm not an expert). Here is it:
sudo tcpdump -tln 'port 53' 2>/dev/null | sed -n 's/^.\+? \(.\+\)\. .\+$/\1/p'
Ty in advance!
No comments:
Post a Comment