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-6] ipatests: in DNS zone file add A record for name server #3860

Closed
wants to merge 2 commits into from

Conversation

wladich
Copy link

@wladich wladich commented Nov 5, 2019

This is a manual backport of PR #3837.

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
Copy link
Author

wladich commented Nov 5, 2019

ACKing PR because this is backport of PR #3837

@wladich wladich added the ack Pull Request approved, can be merged label Nov 5, 2019
@rcritten
Copy link
Contributor

rcritten commented Nov 5, 2019

ipa-4-6:

  • 99e8d80 ipatests: strip newline character when getting name of temp file
  • cf61f74 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