InstallGuide/ResolverConfiguration

Go up: WikiStart

10. resolver.xml Configuration

The resolver.xml file configures the router component which handles hostname resolution for the s2s (server to server) component. The resolver.xml file configures the following functions:

  • PID File
  • Communication with the Router
  • Logging

Configuration of the resolver is concerned primarily with how the resolver and router components communicate.

10.1. PID File

The pid section specifies the location of the PID file. This section may be commented if a PID file is not needed.

10.2. Communication with the Router

The router section controls communication with the router component. The default ip and port should be fine for most installations, although note that if the resolver is running on a separate server, an external IP address would be specified here.

The user and pass sub-sections specify the user name for connecting to the router. These must match against a pair specified in router-users.xml as explained in Section 9. Basic security procedures dictate that the default password should be changed for production systems.

The pemfile section specifies the certificate and private key to be used for communication with the router. See Section 5.2 and Appendix: Generating A Self-Signed SSL Key for more information about setting up SSL on Jabberd. Commenting this section has the effect of disabling SSL communication between the resolver and router.

The retry section specifies how the resolver should try to reconnect to the router if the connection cannot be established during startup or if the connection is lost during operation. The default settings prevent the resolver from indefinitely attempting to reconnect if this connection cannot be made. These default settings will essentially cause the resolver to die if the router dies or is killed.

10.3. Logging

Jabberd logging defaults to the syslog. If you prefer the resolver to write its own log file, change the log type to file, and specify a location for the log.


© 2003 Will Kamishlian and Robert Norris

http://jabberd.jabberstudio.org/2/docs/ccommons.gifThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.