LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2020, 12:35 AM   #1
TokTok
Member
 
Registered: Oct 2019
Posts: 183

Rep: Reputation: Disabled
Cashing dns resolvers in debian 10.3 is it enabled by default ?


I read that in Ubuntu dns cache was disabled by default but does Debian 10.3 have it disabled by default ? If it is Enabled how could it be disabled so the sites visited are not stored in the dns resolver cache logs ?
How to flush the dns resolver in debian also.
 
Old 03-23-2020, 07:00 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,937

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Is caching enabled?
Code:
ps ax | grep dnsmasq
sudo systemd-resolve --statistics
https://www.maketecheasier.com/flush-dns-cache-linux/
https://beebom.com/how-flush-dns-cache-linux/
 
Old 03-23-2020, 08:48 PM   #3
TokTok
Member
 
Registered: Oct 2019
Posts: 183

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Is caching enabled?
Code:
ps ax | grep dnsmasq
sudo systemd-resolve --statistics
https://www.maketecheasier.com/flush-dns-cache-linux/
https://beebom.com/how-flush-dns-cache-linux/
Sorry if this sounds stupid but the verticle *line-seperator* between ax grep how is this done ?
 
Old 03-23-2020, 10:21 PM   #4
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,963

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by TokTok View Post
Sorry if this sounds stupid but the verticle *line-seperator* between ax grep how is this done ?
You can't be serious. How can you deal with Linux without knowing that this "line separator" doesn't separate a line but creates a pipe? And how can you do anything on Linux (or UNIX) without using pipes?

To answer the question, it depends on the keyboard. My keyboard is Japanese; you press Shift and then the Yen key right next to backspace. According to https://en.wikipedia.org/wiki/Britis...ican_keyboards, it is below backspace on a US-American keyboard and next to the left Shift key on the UK keyboard.
 
Old 03-23-2020, 11:17 PM   #5
TokTok
Member
 
Registered: Oct 2019
Posts: 183

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
You can't be serious. How can you deal with Linux without knowing that this "line separator" doesn't separate a line but creates a pipe? And how can you do anything on Linux (or UNIX) without using pipes?

To answer the question, it depends on the keyboard. My keyboard is Japanese; you press Shift and then the Yen key right next to backspace. According to https://en.wikipedia.org/wiki/Britis...ican_keyboards, it is below backspace on a US-American keyboard and next to the left Shift key on the UK keyboard.
That`s real easy to answer, I`m a newbie to linux just learning that`s why i`m hear asking what seems like stupid questions to experienced users like yourself, the people i`m learning from the most. I also don`t code or graphics & would not be using a keyboard if not for the computer age, i don`t have any formal education in computers or things related, but your response is always welcome as long as it solves the problem or helpful in other way`s.
 
Old 03-23-2020, 11:21 PM   #6
TokTok
Member
 
Registered: Oct 2019
Posts: 183

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
You can't be serious. How can you deal with Linux without knowing that this "line separator" doesn't separate a line but creates a pipe? And how can you do anything on Linux (or UNIX) without using pipes?

To answer the question, it depends on the keyboard. My keyboard is Japanese; you press Shift and then the Yen key right next to backspace. According to https://en.wikipedia.org/wiki/Britis...ican_keyboards, it is below backspace on a US-American keyboard and next to the left Shift key on the UK keyboard.
I just looked under the backspace key and there it was...I have bad eye site but never needed it before and never noticed it either so extra thank`s.
 
Old 03-24-2020, 03:35 AM   #7
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,963

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by TokTok View Post
I just looked under the backspace key and there it was...I have bad eye site but never needed it before and never noticed it either so extra thank`s.
You are welcome. I can relate to the bad eyesight comment; slowly getting worse, though I can still see the key markings without problems.

You really need to learn the basics first though. Find a bash tutorial and learn about commands that process text, like grep, cut, sort, awk. Without pipes and text processing, you can't work on Linux.
 
1 members found this post helpful.
Old 03-24-2020, 05:45 AM   #8
TokTok
Member
 
Registered: Oct 2019
Posts: 183

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
You are welcome. I can relate to the bad eyesight comment; slowly getting worse, though I can still see the key markings without problems.

You really need to learn the basics first though. Find a bash tutorial and learn about commands that process text, like grep, cut, sort, awk. Without pipes and text processing, you can't work on Linux.
Feel free to recommend some reading material & video`s i figure if you find it of use so should i ....Youtube i know but you`re speaking from experience so anything specific would be better.
 
  


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
Selecting an open source load balancer for Bind DNS Resolvers ausip Linux - Networking 0 09-24-2015 06:44 AM
Connect my non wireless enabled pc to my wireless enabled pc via ethernet? Help me im dumb Linux - Networking 3 10-21-2012 04:58 PM
DNS resolvers setup/installation ? xzone Linux - Software 5 09-19-2009 10:42 AM
[sda] Write cache: enabled, read cache: enabled, doesn't support DPO seskissinger Linux - Software 3 05-16-2008 01:17 PM
LXer: Cashing in on open source projects the eBay way LXer Syndicated Linux News 0 12-08-2007 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:01 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
Open Source Consulting | Domain Registration