diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-28D13F63-9D72-5D70-BE81-3B4E54B3A8C1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-28D13F63-9D72-5D70-BE81-3B4E54B3A8C1.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,107 @@ + + + + + +DNS +Proxy Server Initialization Settings This topics describes the initialization settings of the DNS Proxy +server. +

DNS Proxy server on start up reads the initialization information from resolver.ini file +which stores the initialization settings. This provides the connection information +on which the DNS Proxy server starts receiving DNS requests.

+

The resolver.ini file is located in the following +folder: z:\private\200215f1\. If there is no file or +if some values are missing then the DNS proxy starts with the default values.

+
Initialization setting parameters

The following +table lists the parameters, description and default values present in the .ini file.

+ + + +Parameters +Description +Default values + + + + +

sessioncount

+

This value represents the maximum number of resolver sessions that +can handle the incoming queries.

+

1

+
+ +

retries

+

This value represents the number of retries made for resolving the +query.

+

2

+
+ +

queuesize

+

This value represents the maximum queries that can be handled by +the DNS Proxy server. Queries are dropped if the queue is full.

+

20

+
+ +

TTL

+

Time to Live field. This value represents the validity period for +the local query response measured in seconds.

+

21600 seconds

+
+ +

dbsize

+

This value represents the maximum size of the DNS Proxy server non-persistent +DB. This is an optional parameter to prevent DoS attacks.

+

10

+
+ +

timerval

+

This value represents the timer value for the response timer, that +is, the number of seconds the DNS Proxy server waits for the response before +timing out.

+

5 seconds

+
+ +

serialnum

+

This value is stored but is not used.

+

10000

+
+ +

refreshtim

+

This value is stored but is not used.

+

900 seconds

+
+ +

retrytime

+

This value is stored but is not used.

+

600 seconds

+
+ +

expiretime

+

This value is stored but is not used.

+

300 seconds

+
+ + +

All the parameters in the .ini file +are optional.

+DNS Proxy initialization settings example

The following +is an example DNS Proxy section from a resolver.ini file:

+[proxyresolver] +sessioncount= 5 +retries= 2 +queuesize= 20 +TTL= 21600 +dbsize= 10 +timerval= 5 +serialnum= 10000 +refreshtim= 900 +retrytime= 600 +expiretime= 86400 +
+
\ No newline at end of file