Network Discovery – Linux

DNS

 

1.     Enable DNS query logging

rndc querylog on

A black screen with white text

Description automatically generated

2.     Check the logs

tail -f /var/log/syslog | grep named

A black screen with white text

Description automatically generated

grep named /var/log/syslog | less

A screenshot of a computer screen

Description automatically generated