view scripts/dns_srv/template/var/cache/bind/zone.my.domain @ 116:d0a5db5b9bdf

docker: fixed bad stopping: - use exec when it was missing, so the TERM signal is properly catched, and containers can be stopped instead of being killed after 10s - for a unknown reason, exec and su don't handle correctly "$@" with Docker in base.scripts/sat. It's working as expected when launched from withing a running container, but not when launched with "docker run", so a workaround is used with trap and wait
author Goffi <goffi@goffi.org>
date Fri, 04 Mar 2016 23:31:26 +0100
parents 73d3b94b7364
children
line wrap: on
line source

$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>.