Check DNS SRV records for XMPP

Client records for

XMPP clients will use these when logging in.

TargetPortPriorityWeight 5222 30 30

Server records for

Other XMPP servers will use these when peering with this domain.

TargetPortPriorityWeight 5269 30 30


The XMPP Core RFC describes a method of using DNS SRV records to determine the host and port to connect to when logging into an XMPP account. It can sometimes be tricky to configure these records. Use this page as a tool to verify that your DNS SRV records are correct.

You can also fetch these records yourself with any of the following commands.
Linux, OS X> host -t SRV
Linux, OS X> host -t SRV
Linux, OS X> dig SRV
Linux, OS X> dig SRV
Linux, OS X, Windows> nslookup -querytype=SRV
Linux, OS X, Windows> nslookup -querytype=SRV

This Page
Created by Mark Doliner
Source available on GitHub

Other Resources
IM Observatory (general info)
IMtrends (general info)
Olark's DNS SRV help page (DNS SRV specific)
Google's official help page for configuring server records (DNS SRV specific)