[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Freeipa-devel] [PATCH] 079 DNS installation fails when domain and host domain mismatch



Martin Kosek wrote:
This patch depends on my patch 078. A special patch for stable branch
attached.

---

Create DNS domain for IPA server hostname first so that it's forward
record can be added. This results in 2 forward DNS zones created
when server hostname doesn't equal server domain.

https://fedorahosted.org/freeipa/ticket/1194

This look ok, just a style question.

by definition fqdn is fully-qualified so is this necessary?

+        if '.' in self.fqdn:
+            self.host_domain = '.'.join(fqdn.split(".")[1:])
+        else:
+            self.host_domain = self.domain

The test will always be true, right?

rob


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]