nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

DNS caching setting

This is a discussion on DNS caching setting within the Domain Name Server forums, part of the Mastering Servers category; I want to set MaxNegativeCacheTtl and MaxCacheTtl values on a Linux box. I tested my java code on a Windows ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Domain Name Server

Linux answers from nixCraft.


Domain Name Server Discussion on domain name server including BIND and other servers.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-25-2008, 07:10 AM
Junior Member
User
 
Join Date: Nov 2008
OS: CentOS5
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
garora is on a distinguished road
Question DNS caching setting

I want to set MaxNegativeCacheTtl and MaxCacheTtl values on a Linux box. I tested my java code on a Windows XP box and did something similar to what is shown here DNS in Windows XP Tip! and set OS DNS settings.I want to make it OS independent

For XP, I added two properties inside REGEDIT to set OS caching. I assume I will have to make some changes to some conf file in Linux. I am still researching on where these changes are going to sit. J

My motive is to NEVER cache a bad SMTP address and cache a good address for 20 mins.

Any Linux user who can help me ...I would be thankful
Cheers
Reply With Quote
  #2 (permalink)  
Old 03-24-2009, 09:02 PM
Junior Member
User
 
Join Date: Mar 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stigglor is on a distinguished road
Default

Take a look at
How To Flush Linux / UNIX DNS Cache

You may find that your OS is not caching dns at all. It depends if you have a caching daemon installed.


Cheers
Reply With Quote
Reply

Tags
caching , dns


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
web caching server klauss35 Proxy Servers 2 02-13-2009 10:10 AM
Setting a variable Galleyr Shell scripting 3 11-25-2008 01:04 AM
Linux Setting up talk for network communication leechy9 Linux software 1 06-14-2008 01:03 PM
Setting Samba to Bind to an ADS Domain kevv.mai Getting started tutorials 0 04-20-2008 02:47 AM
Help in setting up an email server and net gateway ricc Mail Servers 2 01-04-2007 10:33 AM


All times are GMT +5.5. The time now is 08:35 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38