Skip to content

Commit

Permalink
vmware-tanzu#34: tell dig that dns_server is DNS server
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosonunez-vmw committed May 24, 2022
1 parent c77048d commit e0cd9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/common_utilities.py
Expand Up @@ -7199,7 +7199,7 @@ def getAviIpFqdnDnsMapping(avi_controller_fqdn_ip_dict, dns_server):
try:
for dns in dns_server:
for avi_fqdn, avi_ip in avi_controller_fqdn_ip_dict.items():
listOfCmd = ["dig", dns, avi_fqdn, "+short"]
listOfCmd = ["dig", f"@{dns}", avi_fqdn, "+short"]
fqdn_ip_map = runShellCommandAndReturnOutputAsList(listOfCmd)
current_app.logger.info(fqdn_ip_map)
for ip in fqdn_ip_map[0]:
Expand Down

0 comments on commit e0cd9f0

Please sign in to comment.