Install and Configure an Openfire server and DNS

Bootstrap a linux server:
Yep. ntpd and all that good stuff. Remember to `yum -y update`.
Here I use RHEL (fedora, centos, redhat…), so Debian might be a bit different.

Download, install and start openfire:

yum install glibc.i686
rpm -i openfire-3.8.2-1.i386.rpm
#modify the config if needed (like network address, disabling http, etc):
vim /opt/openfire/conf/openfire.xml
service openfire start
netstat -apn | grep :9090

Modify some settings:
1) Log on to the web UI
2) Set up an admin username and password and the remaining intro settings.
3) Server/Server Manager/Language and Time: Adjust the timezone setting.
4) Server/Server Manager/Email Settings: Adjust the email server setting.
5) Server/Server Settings/Server to Server/Service Enabled/Disabled: Adjust the s2s setting.
6) Server/Server Settings/Registration Settings/Inband Account Registration/Disabled: Adjust the ability for users to register themselves.
7) Server/Server Settings/Registration Settings/Anonymous Login/Disabled: Adjust the ability for users to logon anonymously.
8) Server/Server Settings/File Transfer Settings/Proxy Service/Disabled: Adjust the ability for users to utilize the server as a file transfer proxy.

Client control plugin:
This is a layer of client control. Flaws are discussed here.

1) Log on to the web UI
2) Go to plugins\Available Plugins\Client Control, click + under the Install column.
3) Go to Server\Client Management\Permitted Clients
4) If you wish to you can “Add Other Clients”. The given string will be included in a case-insensitive search of the response’s identity name parameter.

Configure public/internal DNS:
1) Decide on a server name, like or or
2) Create an A record for
3) Create an SRV record that allows clients to find the xmpp resource:

#like: TTL IN SRV priority weight port target 3600 IN SRV 5 0 5222

4) Create a TXT record that allows BOSH clients to configure themselves: IN TXT "_xmpp-client-xbosh="
  1. pywy
    March 20, 2016 at 1:25 pm

    xmppconnect dns record should rather be: IN TXT "_xmpp-client-xbosh="
  2. Daniel YUNG
    September 14, 2016 at 4:46 am

    I would like to configure openfire with internet access. It’s obligation to configure public/internal DNS ?
    How i have to configure DNS (Cache / Master/ ..??)


    • September 14, 2016 at 8:07 am

      Sorry Daniel. I don’t have any information for you, as public DNS is a complex thing. Take a look at GoDaddy DNS.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: