# Can I use the resolvedIps from an HTTP Monitor result into a validation?

**URL:** <https://community.dynatrace.com/t/can-i-use-the-resolvedips-from-an-http-monitor-result-into-a-validation/34933>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, synthetic-monitoring\
**Created:** [April 23, 2022, 4:28pm UTC](https://community.dynatrace.com/t/can-i-use-the-resolvedips-from-an-http-monitor-result-into-a-validation/34933 "2022-04-23T16:28:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bill\_smith](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_smith/32/27585_2.png) [@bill\_smith](https://community.dynatrace.com/u/bill_smith)\
**Post date:** [May 4, 2022, 4:26pm UTC](https://community.dynatrace.com/t/can-i-use-the-resolvedips-from-an-http-monitor-result-into-a-validation/34933/2 "2022-05-04T16:26:45Z")

</div>

Hi Danne,

The work done by the HTTP monitor to gather the resolved IP address(es) is outside the scope of the pre/post-execution scripts, so they wouldn’t be able to get that information directly.&nbsp; You could use an API to get data from previous executions of the script, but the IP could be different from the current execution.&nbsp; Check if the server being monitored responds with a response header containing its IP address.

A better solution would be to use an ActiveGate extension to perform IP lookups.&nbsp; We don’t have a DNS-specific extension right now, but one could be developed by one of our services teams.

Thanks!

Bill

---

_[View the full topic](https://community.dynatrace.com/t/can-i-use-the-resolvedips-from-an-http-monitor-result-into-a-validation/34933)._
