How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
learning to use the Paypal's IPN
By A. Walter on May 7
Max Bid: Open to fair suggestions


file information and save file function
By A. Walter on May 7
Max Bid: Open to fair suggestions


Message Board, Faq's, and Rating system
By innovate on May 7
Max Bid: Open to fair suggestions


OpenGL Game in C++
By softlancer2003 on May 7
Max Bid: $20


Connect .asp to ms access
By inet29 on May 7
Max Bid: $10


DVD UDF ISO9660 project
By eric_55555 on May 7
Max Bid: $300


Click here to put this ticker on your own site

Open Work Categories.
Database 
(140 open)
   Access 
(62 open)
   MySQL 
(80 open)
   Oracle 
(11 open)
   SQL Server 
(50 open)
   Other DB 
(16 open)
Documentation / Tech Writing 
(31 open)
Data Entry 
(17 open)
Game Development 
(19 open)
Graphics / Art / Music 
(35 open)
   Graphics 
(49 open)
     3d Animation 
(11 open)
   Art (Misc.) 
(16 open)
   Music 
(4 open)
   3d Modeling 
(5 open)
Language Specific 
(108 open)
   ASP 
(70 open)
   C# 
(34 open)
   C++ / C 
(103 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(2 open)
   Delphi 
(32 open)
   Java 
(55 open)
   Perl 
(35 open)
   PHP 
(90 open)
   XML/XSL 
(24 open)
   Visual Basic 
(139 open)
   Visual Basic .Net 
(70 open)
   Other 
(46 open)
Misc 
(33 open)
   CAD 
(3 open)
MultiMedia 
(28 open)
Network 
(46 open)
   Network Design 
(12 open)
   Network Implementation 
(16 open)
Platforms 
(67 open)
   Windows 
(160 open)
     MS Exchange 
(2 open)
     MS Office 
(8 open)
     Other 
(10 open)
   Internet Browser 
(39 open)
   Linux 
(50 open)
   UNIX 
(24 open)
   Hand Held/PDA Programming 
(10 open)
Requirements 
(15 open)
Security 
(40 open)
Testing / Quality Assurance 
(18 open)
Web 
(154 open)
   Page Design 
(77 open)
   Flash 
(47 open)
   Web Services 
(76 open)
   Web (Other) 
(77 open)
Training 
(11 open)
   Computer Based 
(15 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Set DNS caching value / Java /Tomcat
Bid Request Id: 29206
Bookmark in my 'To Do' list
Posted by: InProd (20 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 19.35%
Posted: Sep 29, 2002
6:49:05 PM EDT
Bidding Closes: Oct 1, 2002 EDT
Viewed (by coders): 78 times
Deadline: 10/3/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Question or Beginner / Newbie Assistance
Bidding Type: Open Auction
Categories: Java, Network, Network Implementation, Security
Enter chat room for this bid request
(0 active users at May 7, 2003 8:51:55 PM EDT)

Description:
I am using Java 1.3.1_02 servlets with Tomcat 3.2 / Apache. I would like to reset the DNS caching parameter
networkaddress.cache.ttl. Where do I do this? Java.policy? Explanation follows.

The InetAddress class has a cache to store successful as well as unsuccessful host name resolutions. The positive caching is there to guard against DNS spoofing attacks; while the negative caching is used to improve performance.

By default, the result of positive host name
resolutions are cached forever, because there is no general rule to decide when it is safe to remove cache
entries. The result of unsuccessful host name resolution is cached for a very short period of time (10 seconds) to improve performance.

Under certain circumstances where it can be determined that DNS spoofing attacks are not possible, a Java security property can be set to a different
Time-to-live (TTL) value for positive caching. Likewise, a system admin can configure a different negative caching TTL value when needed.

Two Java security properties control the TTL values used for positive and negative host name resolution caching:

networkaddress.cache.ttl (default: -1)

Indicates the caching policy for successful name lookups from the name service. The value is specified as as integer to indicate the number of seconds to cache the successful lookup. A value of -1 indicates "cache forever".

networkaddress.cache.negative.ttl (default: 10)
Indicates the caching policy for un-successful name lookups from the name service. The value is specified as as integer to indicate the number of seconds to cache the failure for un-successful lookups. A value of 0 indicates "never cache". A value of -1
indicates "cache forever".




Deliverables:
Description of exactly where to change parameters in Tomcat or Java



Platform:
Windows
Linux

Must be 100% finished and received by buyer on:
Oct 3, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
BismiSoft
(4 ratings)
in Kuala Lumpur, Selangor
Malaysia
Bid id: 327,457
 
$10 (USD) Sep 29, 2002
8:40:37 PM EDT
 10
(Excellent)
   
Hi Friend,

I have gone through your problem statement. The problem/question you mention is related to java net. The properties you can set in a couple of ways:-

#1. You can set like this within your code
System.setProperty('networkaddress.cache.ttl','0')

#2. Modify your java.security file with the appropriate properties. java.security file is located in JDK_HOME\jre\lib\security directory of your JDK installation. Add the following line to that file
networkaddress.cache.ttl=0

#3. If your application is an console application you can also set as runtime parameter ie. like -Dnetworkaddress.cache.ttl=0

Hope i have given necessary information regarding your problem/question. Pls feel free to contact for any other information.

Also if u have any questions/problems/projects in future, kindly contact me. I will give my best.

Thanks/regards,
BismiSoft.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 97 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Codman
Rated a 9.97 on 137 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 167 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
RNA
Rated a 9.93 on 35 jobs 
hernest
Rated a 10 on 109 jobs 
markesh
Rated a 10 on 21 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.