LinuxQuestions.org
Visit Jeremy's Blog.
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: 82

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,467

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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: 82

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: 2,148

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,772

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
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 11:40 PM.

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
Open Source Consulting | Domain Registration