diff scripts/dns_srv/template/var/cache/bind/zone.my.domain @ 3:73d3b94b7364

added DNS SRV configuration script + move launching script to scripts/launcher/launch.sh
author souliane <souliane@mailoo.org>
date Fri, 27 Jun 2014 19:17:18 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/dns_srv/template/var/cache/bind/zone.my.domain	Fri Jun 27 19:17:18 2014 +0200
@@ -0,0 +1,16 @@
+$ORIGIN <domain>.
+$TTL 1D
+@     IN SOA   <hostname> <hostname> (
+                        <date>    ; serial
+                        8H        ; refresh
+                        4H        ; retry
+                        4W        ; expire
+                        1D )      ; minimum
+
+                NS      <hostname>
+www             CNAME   <hostname>
+localhost       A       127.0.0.1
+<hostname>      A       127.0.0.1
+
+_xmpp-client._tcp.<domain>. 18000 IN SRV 0 5 <c2s_port> <hostname>.<domain>.
+_xmpp-server._tcp.<domain>. 18000 IN SRV 0 5 5269       <hostname>.<domain>.