1 | <Config> |
2 | <System> |
3 | <Port>53</Port> |
4 | <TCPThreadPoolMinSize>5</TCPThreadPoolMinSize> |
5 | <TCPThreadPoolMaxSize>20</TCPThreadPoolMaxSize> |
6 | <TCPThreadPoolShutdownTimeout>60</TCPThreadPoolShutdownTimeout> |
7 | <UDPThreadPoolMinSize>5</UDPThreadPoolMinSize> |
8 | <UDPThreadPoolMaxSize>20</UDPThreadPoolMaxSize> |
9 | <UDPThreadPoolShutdownTimeout>60</UDPThreadPoolShutdownTimeout> |
10 | <AXFRTimeout>30</AXFRTimeout> |
11 | <RequireZones>false</RequireZones> |
12 | |
13 | <!-- NOERROR or NXDOMAIN --> |
14 | |
15 | <DefaultResponse>NXDOMAIN</DefaultResponse> |
16 | </System> |
17 | |
18 | <ZoneProviders> |
19 | <ZoneProvider> |
20 | <Name>Default file zone provider</Name> |
21 | <Class>se.unlogic.eagledns.zoneproviders.file.FileZoneProvider</Class> |
22 | <Properties> |
23 | <Property name="zoneFileDirectory">zones</Property> |
24 | <Property name="autoReloadZones">true</Property> |
25 | <Property name="pollingInterval">10</Property> |
26 | </Properties> |
27 | </ZoneProvider> |
28 | |
29 | <!-- Uncomment the block below if you wish to read you zones from DB --> |
30 | |
31 | <!-- |
32 | <ZoneProvider> |
33 | <Name>Default DB zone provider</Name> |
34 | <Class>se.unlogic.eagledns.zoneproviders.db.DBZoneProvider</Class> |
35 | <Properties> |
36 | <Property name="driver">com.mysql.jdbc.Driver</Property> |
37 | <Property name="username">root</Property> |
38 | <Property name="password">root</Property> |
39 | <Property name="url">jdbc:mysql://localhost:3306/eagledns</Property> |
40 | </Properties> |
41 | </ZoneProvider> |
42 | --> |
43 | </ZoneProviders> |
44 | |
45 | <Resolvers> |
46 | <Resolver> |
47 | <Name>Authoritative resolver</Name> |
48 | <Class>se.unlogic.eagledns.resolvers.AuthoritativeResolver</Class> |
49 | </Resolver> |
50 | |
51 | <!-- Uncomment the block below to enable a forwarding resolver without failover enabled --> |
52 | |
53 | <!-- |
54 | <Resolver> |
55 | <Name>Forwarder (without failover)</Name> |
56 | <Class>se.unlogic.eagledns.resolvers.ForwardingResolver</Class> |
57 | <Properties> |
58 | <Property name="server">192.168.1.1</Property> |
59 | <Property name="timeout">1</Property> |
60 | </Properties> |
61 | </Resolver> |
62 | --> |
63 | |
64 | <!-- Uncomment the block below to enable a forwarding resolver with failover enabled --> |
65 | |
66 | <!-- |
67 | <Resolver> |
68 | <Name>Forwarder (with failover)</Name> |
69 | <Class>se.unlogic.eagledns.resolvers.ForwardingResolver</Class> |
70 | <Properties> |
71 | <Property name="server">192.168.1.245</Property> |
72 | <Property name="timeout">1</Property> |
73 | <Property name="maxerrors">3</Property> |
74 | <Property name="errorWindowsSize">30</Property> |
75 | <Property name="validationQuery">samplezone.org</Property> |
76 | </Properties> |
77 | </Resolver> |
78 | --> |
79 | </Resolvers> |
80 | |
81 | <Plugins> |
82 | <!-- RMI based remote management plugin needed for the info, reload and stop scripts to work --> |
83 | <Plugin> |
84 | <Name>RMI remote management</Name> |
85 | <Class>se.unlogic.eagledns.plugins.remotemanagement.RMIRemoteManagementPlugin</Class> |
86 | <Properties> |
87 | <Property name="password">secret</Property> |
88 | <Property name="port">5353</Property> |
89 | |
90 | <!-- Sets the java.rmi.server.hostname used for RMI clients --> |
91 | <Property name="rmiServerHostname">localhost</Property> |
92 | </Properties> |
93 | </Plugin> |
94 | |
95 | <!-- This is a new plugin that keeps track of the number of queries handled --> |
96 | <Plugin> |
97 | <Name>Query statistics</Name> |
98 | <Class>se.unlogic.eagledns.plugins.QueryStatsPlugin</Class> |
99 | <Properties> |
100 | <!-- This property controls how often statistics should be saved to file (in seconds) --> |
101 | <Property name="savingInterval">60</Property> |
102 | |
103 | <!-- This property controls where the statistics file is written --> |
104 | <Property name="filePath">logs/querystats.xml</Property> |
105 | </Properties> |
106 | </Plugin> |
107 | |
108 | <!-- RMI based zone replication plugin (server) --> |
109 | <!-- |
110 | <Plugin> |
111 | <Name>RMI zone replication server</Name> |
112 | <Class>se.unlogic.eagledns.plugins.zonereplicator.ReplicationServerPlugin</Class> |
113 | <Properties> |
114 | <Property name="rmiServerHostname">localhost</Property> |
115 | <Property name="rmiPassword">secret</Property> |
116 | <Property name="rmiPort">5000</Property> |
117 | |
118 | <Property name="driver">com.mysql.jdbc.Driver</Property> |
119 | <Property name="username">root</Property> |
120 | <Property name="password">root</Property> |
121 | <Property name="url">jdbc:mysql://localhost:3306/eagledns</Property> |
122 | </Properties> |
123 | </Plugin> |
124 | --> |
125 | |
126 | <!-- RMI based zone replication plugin (client) --> |
127 | <!-- |
128 | <Plugin> |
129 | <Name>RMI zone replication server</Name> |
130 | <Class>se.unlogic.eagledns.plugins.zonereplicator.ReplicationClientPlugin</Class> |
131 | <Properties> |
132 | <Property name="serverAddress">localhost</Property> |
133 | <Property name="rmiPassword">secret</Property> |
134 | <Property name="rmiPort">5000</Property> |
135 | |
136 | <Property name="replicationInterval">60</Property> |
137 | |
138 | <Property name="driver">com.mysql.jdbc.Driver</Property> |
139 | <Property name="username">root</Property> |
140 | <Property name="password">root</Property> |
141 | <Property name="url">jdbc:mysql://localhost:3306/eagledns</Property> |
142 | </Properties> |
143 | </Plugin> |
144 | --> |
145 | </Plugins> |
146 | </Config> |
Travelled to 22 computer(s): aoiabmzegqzx, bhatertpkbcr, bvpoyihotdib, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, fzcpzdstiiyc, gwrvuhgaqvyk, ishqpsrjomds, iveijnkanddl, jozkyjcghlvl, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1010767 |
Snippet name: | EagleDNS demo config.xml |
Eternal ID of this version: | #1010767/2 |
Text MD5: | 6a29d5e985c57dd702ab5bcbff4f2057 |
Author: | stefan |
Category: | javax / dns |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-01 13:47:05 |
Source code size: | 5061 bytes / 146 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 482 / 26334 |
Version history: | 1 change(s) |
Referenced in: | [show references] |