# Dynatrace Synthetic - Is there host file mechanism

**URL:** <https://community.dynatrace.com/t/dynatrace-synthetic-is-there-host-file-mechanism/19357>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [May 20, 2020, 7:18am UTC](https://community.dynatrace.com/t/dynatrace-synthetic-is-there-host-file-mechanism/19357 "2020-05-20T07:18:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuan\_sern\_wong](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chuan_sern_wong/32/32488_2.png) [@chuan\_sern\_wong](https://community.dynatrace.com/u/chuan_sern_wong)\
**Post date:** [May 20, 2020, 7:18am UTC](https://community.dynatrace.com/t/dynatrace-synthetic-is-there-host-file-mechanism/19357/1 "2020-05-20T07:18:06Z")

</div>

Hi,

I am trying to test out with and without CDN and do not want to go into creating a CName at thos stage. Is there a way for me to define a host file with Dynatrace Synthetic ?

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [May 20, 2020, 11:03am UTC](https://community.dynatrace.com/t/dynatrace-synthetic-is-there-host-file-mechanism/19357/2 "2020-05-20T11:03:58Z")

</div>

If you are using the public agents, that is not an option.

If you have private agents, eventually you can mess around with DNS/hostFiles, but that should be done carefully…
