Skip to content

Commit

Permalink
Add some direct nss IPv6 lookups to the test
Browse files Browse the repository at this point in the history
Both for google.com and ourself
  • Loading branch information
rcritten committed Jan 18, 2023
1 parent 78dbbe2 commit e902f52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ipatests/test_integration/test_dns_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,17 @@ def test_hidden_ipa_ca_records(self, disable_systemd_resolved):
self.master.run_command(
['dig', '+short', '-t', 'AAAA', self.replicas[1].hostname + '.'])

self.master.run_command(
['python3', '-c',
'from ipaserver.install.installutils import resolve_rrsets_nss; '
'print(resolve_rrsets_nss("google.com"))'])

self.master.run_command(
['python3', '-c',
'from ipaserver.install.installutils import resolve_rrsets_nss; '
'print(resolve_rrsets_nss("{hostname}"))'.format(
hostname=self.master.hostname)])

# This should add the new IP to the ipa-ca name.
self.master.run_command(['ipa', 'dns-update-system-records'])

Expand Down

0 comments on commit e902f52

Please sign in to comment.