; Here is a typical DNS zonefile for an XMPP enabled domain. ; jud and conference represent typical component names and should be adjusted as required. ; computer1 and computer2 represent the hostnames of computers, such as the one ; that runs an XMPP server. @ IN SOA computer1.example.com. person.example.com. ( 2006031400 ; serial YYYYmmddnn 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 2419200 ; expire (4 weeks) 86400 ; minimum (1 day) NS computer1 NS computer2 MX 10 computer1 ; we don't put an A record here as it can confuse all ; sorts of applications. ; as SMTP and XMPP will both use it as a fallback. ; some sites may choose to do it anyway for the convenience ; of http users, though. _xmpp-server._tcp SRV 5 0 5269 computer1 _xmpp-client._tcp SRV 5 0 5222 computer1 _xmpp-server._tcp.conference SRV 5 0 5269 computer1 _xmpp-server._tcp.proxy65 SRV 5 0 5269 computer1 _xmpp-server._tcp.ircgate SRV 5 0 5269 computer1 _xmpp-server._tcp.jud SRV 5 0 5269 computer1 computer1 AAAA 2001:DB8::1 A 192.0.2.1 computer2 AAAA 2001:DB8::2 A 192.0.2.2 ; pre-SRV clients require a connect servername e.g. ; JID : someuser@example.com ; connect server : xmpp.example.com jabber CNAME computer1 xmpp CNAME computer1