Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport][ipa-4-7] ipatests: in DNS zone file add A record for name server #3859

Closed
wants to merge 2 commits into from

Conversation

wladich
Copy link

@wladich wladich commented Nov 5, 2019

This PR was opened automatically because PR #3837 was pushed to master and backport to ipa-4-7 is required.

Function create_temp_file was returning unprocessed output of mktemp
command, which contains a trailing newline. Callers which tryed to write
to the temp file were creating a new one instead.
Testcase test_server_option_with_unreachable_ad creates a zone file
for AD domain. This file had a hard-coded A record for host specified in
NS record. Some versions of BIND consider this zone invalid and refuse
to start with message:
```
zone ad.test/IN: NS 'root-dc.ad.test' has no address records (A or AAAA)
```

Fixed by replacing hard-coded value with short name of the AD instance.
@wladich wladich added the ack Pull Request approved, can be merged label Nov 5, 2019
@wladich
Copy link
Author

wladich commented Nov 5, 2019

PR was ACKed automatically because this is backport of PR #3837. Wait for CI to finish before pushing. In case of questions or problems contact @wladich who is author of the original PR.

@rcritten
Copy link
Contributor

rcritten commented Nov 5, 2019

ipa-4-7:

  • 6b59cee ipatests: strip newline character when getting name of temp file
  • 13fbe2c ipatests: in DNS zone file add A record for name server

@rcritten rcritten added the pushed Pull Request has already been pushed label Nov 5, 2019
@rcritten rcritten closed this Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants