# Use of environment variables at dynamic configuration

**URL:** <https://community.traefik.io/t/use-of-environment-variables-at-dynamic-configuration/27427>\
**Category:** Traefik v3 (latest)\
**Tags:** docker\
**Created:** [May 6, 2025, 8:00am UTC](https://community.traefik.io/t/use-of-environment-variables-at-dynamic-configuration/27427 "2025-05-06T08:00:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [May 6, 2025, 10:33am UTC](https://community.traefik.io/t/use-of-environment-variables-at-dynamic-configuration/27427/2 "2025-05-06T10:33:18Z")

</div>

Maybe check [this post](https://community.traefik.io/t/how-to-do-macro-like-templating-with-parameters-in-dynamic-configuration/13994), they try to use `Host(`prox.{{ env "DNS_ZONE" }}`)`.

---

_[View the full topic](https://community.traefik.io/t/use-of-environment-variables-at-dynamic-configuration/27427)._
