Unresolved Target Domain Error
Fix unresolved target domain issues in Pynt. Learn how to troubleshoot and resolve problems with domain name resolution to ensure successful API security scans.
This error in Pynt indicates that the domain name of your API target cannot be resolved, preventing the security scan from running. This guide will help you troubleshoot and resolve domain name resolution issues, ensuring that your API targets are reachable and your scans can be completed successfully.
Message: The target domain was unresolved. Please make sure your functional tests use the correct domain
What Happened: We couldnβt resolve the test targetβs domain name to an IP or otherwise couldnβt communicate with the server
How To Solve:
1. Use βlocalhostβ instead of IP (such as β127.0.0.1β) for a server running on the local machine
2. Make sure the correct environment is selected in Postman UI
3. Make sure that the domain is reachable by using Postman to run the test collection and that no βDNS Lookup Failedβ errors were received
4. Make sure that the domain is accessible from the docker container by running the following commands in a command prompt, replace "<THE TEST DOMAIN>
" with your domain:
Make sure that error message such as βName or service not knownβ wasnβt received
Last updated