summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-06-27 07:53:45 +0200
committerMartin Nagy <mnagy@redhat.com>2009-07-22 18:02:22 +0200
commita09d2c34988275178bec1c3b7d15f00e9d0c8db4 (patch)
tree7393751ff0b8f0012a71915c119b6717f1b3dd52 /install
parent296ffe6c613024283d908574cd2069902b609960 (diff)
downloadfreeipa-a09d2c34988275178bec1c3b7d15f00e9d0c8db4.tar.gz
freeipa-a09d2c34988275178bec1c3b7d15f00e9d0c8db4.tar.xz
freeipa-a09d2c34988275178bec1c3b7d15f00e9d0c8db4.zip
Add a reverse zone with server's PTR record
Also, small cosmetic change in dns.ldif.
Diffstat (limited to 'install')
-rw-r--r--install/share/dns.ldif4
-rw-r--r--install/share/dns_reverse.ldif24
2 files changed, 26 insertions, 2 deletions
diff --git a/install/share/dns.ldif b/install/share/dns.ldif
index 6c3a8b1c6..8ce9d69aa 100644
--- a/install/share/dns.ldif
+++ b/install/share/dns.ldif
@@ -14,8 +14,8 @@ idnsName: $DOMAIN
idnsZoneActive: TRUE
idnsAllowDynUpdate: TRUE
idnsUpdatePolicy: grant $REALM krb5-self * A;
-idnsSOAmName: $HOST.$DOMAIN.
-idnsSOArName: root.$HOST.$DOMAIN.
+idnsSOAmName: $FQDN.
+idnsSOArName: root.$FQDN.
idnsSOAserial: 1
idnsSOArefresh: 10800
idnsSOAretry: 900
diff --git a/install/share/dns_reverse.ldif b/install/share/dns_reverse.ldif
new file mode 100644
index 000000000..02d45a472
--- /dev/null
+++ b/install/share/dns_reverse.ldif
@@ -0,0 +1,24 @@
+dn: idnsName=$REVERSE_SUBNET.in-addr.arpa,cn=dns,$SUFFIX
+changetype: add
+objectClass: top
+objectClass: idnsZone
+objectClass: idnsRecord
+idnsName: $REVERSE_SUBNET.in-addr.arpa
+idnsZoneActive: TRUE
+idnsAllowDynUpdate: TRUE
+idnsUpdatePolicy: grant $REALM krb5-subdomain $REVERSE_SUBNET.in-addr.arpa. PTR;
+idnsSOAmName: $FQDN.
+idnsSOArName: root.$FQDN.
+idnsSOAserial: 1
+idnsSOArefresh: 10800
+idnsSOAretry: 900
+idnsSOAexpire: 604800
+idnsSOAminimum: 86400
+NSRecord: $FQDN.
+
+dn: idnsName=$REVERSE_HOST,idnsName=$REVERSE_SUBNET.in-addr.arpa,cn=dns,$SUFFIX
+changetype: add
+objectClass: idnsRecord
+objectClass: top
+idnsName: $REVERSE_HOST
+PTRRecord: $FQDN.