LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-17-2020, 05:32 PM   #1
trackstar2000
Member
 
Registered: Apr 2013
Posts: 70

Rep: Reputation: Disabled
view DNS log activities


Where can I view the DNS activities on a client machine (Ubuntu or Centos)?


Thanks,
TT
 
Old 05-18-2020, 08:18 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,061

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
On the client, unless you install something like bind locally and use that as a forwarding resolver the requests won't be logged. You could always tcpdump on the client and look for tcp/udp traffic sent out to port 53
 
Old 05-21-2020, 12:12 PM   #3
trackstar2000
Member
 
Registered: Apr 2013
Posts: 70

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
On the client, unless you install something like bind locally and use that as a forwarding resolver the requests won't be logged. You could always tcpdump on the client and look for tcp/udp traffic sent out to port 53
Thank you!
 
Old 06-02-2020, 03:41 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,754

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Or you can try searching the web for "web proxy linux server"
Of course, as TenTenths suggested it is best done on a DNS resolver.
Good luck!
 
Old 06-02-2020, 06:01 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,612

Rep: Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741Reputation: 4741
an interesting way could be to install pihole. It has a very nice GUI and very easy to use. You can install it directly onto your client (or for example on a raspberry pi).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to log internal-sftp chroot jailed users access log to /var/log/sftp.log file LittleMaster Linux - Server 0 09-04-2018 03:45 PM
[SOLVED] Add categories to gnome shell (within activities view) vienswuer Linux - General 3 09-16-2014 11:12 PM
LXer: How to record terminal activities and outputs to a log file LXer Syndicated Linux News 0 06-26-2012 12:11 AM
Samba Log all user activities simplyA Linux - Server 6 02-04-2011 04:02 AM
Squid - Track Users Activities - 1 Month Log grant-skywalker Linux - Server 1 11-30-2006 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration