|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-28D13F63-9D72-5D70-BE81-3B4E54B3A8C1" xml:lang="en"><title>DNS |
|
13 Proxy Server Initialization Settings </title><shortdesc>This topics describes the initialization settings of the DNS Proxy |
|
14 server. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>DNS Proxy server on start up reads the initialization information from <filepath>resolver.ini</filepath> file |
|
16 which stores the initialization settings. This provides the connection information |
|
17 on which the DNS Proxy server starts receiving DNS requests. </p> |
|
18 <p>The <filepath>resolver.ini</filepath> file is located in the following |
|
19 folder: <filepath>z:\private\200215f1\</filepath>. If there is no file or |
|
20 if some values are missing then the DNS proxy starts with the default values. </p> |
|
21 <section id="GUID-337E6F01-A404-4DEA-8914-D8FDED392474"><title>Initialization setting parameters</title> <p>The following |
|
22 table lists the parameters, description and default values present in the <filepath>.ini</filepath> file. </p> <table id="GUID-C8AEF62F-6FE4-5C3B-B987-631549540716"> |
|
23 <tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/> |
|
24 <thead> |
|
25 <row> |
|
26 <entry>Parameters</entry> |
|
27 <entry>Description</entry> |
|
28 <entry>Default values</entry> |
|
29 </row> |
|
30 </thead> |
|
31 <tbody> |
|
32 <row> |
|
33 <entry><p>sessioncount </p> </entry> |
|
34 <entry><p>This value represents the maximum number of resolver sessions that |
|
35 can handle the incoming queries. </p> </entry> |
|
36 <entry><p>1</p> </entry> |
|
37 </row> |
|
38 <row> |
|
39 <entry><p>retries </p> </entry> |
|
40 <entry><p>This value represents the number of retries made for resolving the |
|
41 query. </p> </entry> |
|
42 <entry><p>2</p> </entry> |
|
43 </row> |
|
44 <row> |
|
45 <entry><p>queuesize </p> </entry> |
|
46 <entry><p>This value represents the maximum queries that can be handled by |
|
47 the DNS Proxy server. Queries are dropped if the queue is full. </p> </entry> |
|
48 <entry><p>20 </p> </entry> |
|
49 </row> |
|
50 <row> |
|
51 <entry><p>TTL </p> </entry> |
|
52 <entry><p>Time to Live field. This value represents the validity period for |
|
53 the local query response measured in seconds. </p> </entry> |
|
54 <entry><p>21600 seconds </p> </entry> |
|
55 </row> |
|
56 <row> |
|
57 <entry><p>dbsize </p> </entry> |
|
58 <entry><p>This value represents the maximum size of the DNS Proxy server non-persistent |
|
59 DB. This is an optional parameter to prevent DoS attacks. </p> </entry> |
|
60 <entry><p>10 </p> </entry> |
|
61 </row> |
|
62 <row> |
|
63 <entry><p>timerval </p> </entry> |
|
64 <entry><p>This value represents the timer value for the response timer, that |
|
65 is, the number of seconds the DNS Proxy server waits for the response before |
|
66 timing out. </p> </entry> |
|
67 <entry><p>5 seconds </p> </entry> |
|
68 </row> |
|
69 <row> |
|
70 <entry><p>serialnum </p> </entry> |
|
71 <entry><p>This value is stored but is not used. </p> </entry> |
|
72 <entry><p>10000 </p> </entry> |
|
73 </row> |
|
74 <row> |
|
75 <entry><p>refreshtim </p> </entry> |
|
76 <entry><p>This value is stored but is not used. </p> </entry> |
|
77 <entry><p>900 seconds </p> </entry> |
|
78 </row> |
|
79 <row> |
|
80 <entry><p>retrytime </p> </entry> |
|
81 <entry><p>This value is stored but is not used. </p> </entry> |
|
82 <entry><p>600 seconds </p> </entry> |
|
83 </row> |
|
84 <row> |
|
85 <entry><p>expiretime </p> </entry> |
|
86 <entry><p>This value is stored but is not used. </p> </entry> |
|
87 <entry><p>300 seconds </p> </entry> |
|
88 </row> |
|
89 </tbody> |
|
90 </tgroup> |
|
91 </table> <p> <note>All the parameters in the <filepath>.ini</filepath> file |
|
92 are optional. </note></p> </section> |
|
93 <example><title>DNS Proxy initialization settings example</title> <p>The following |
|
94 is an example DNS Proxy section from a <b>resolver.ini</b> file: </p> <codeblock id="GUID-4EFFA9AE-80AA-5C84-BFB5-2202147DB256" xml:space="preserve"> |
|
95 [proxyresolver] |
|
96 sessioncount= 5 |
|
97 retries= 2 |
|
98 queuesize= 20 |
|
99 TTL= 21600 |
|
100 dbsize= 10 |
|
101 timerval= 5 |
|
102 serialnum= 10000 |
|
103 refreshtim= 900 |
|
104 retrytime= 600 |
|
105 expiretime= 86400 |
|
106 </codeblock> </example> |
|
107 </conbody></concept> |