ipatests: Add records for all hosts in master's domain

All the hosts in the domain have IPA master set as their only
nameserver. However, the IPA master does not create records for
these machines by default. This is not an big issue for clients
or replicas, since those records do get created in other ways,
but external hosts using their internal hostnames will not resolve.

Adds an A record for each host in master's domain.

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

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Tomas Babej
2014-01-22 13:33:41 +01:00
committed by Petr Viktorin
parent 03d093d793
commit baf9b4c02a
3 changed files with 62 additions and 0 deletions

View File

@@ -147,6 +147,13 @@ Clears SSSD cache by removing the cache files. Restarts SSSD.
Syncs the time with the remote server. Please note that this function leaves
ntpd stopped.
.TP
\fBipa\-test\-task add\-a\-records\-in\-master\-domain MASTER\fR
Adds A records to the IPA master for all the hosts in the master domain.
.TP
\fBipa\-test\-task add\-a\-record MASTER HOST\fR
Adds an A record for the host to the IPA master.
.SH "EXIT STATUS"
0 if the command was successful