# dns name in Tunnel config

**URL:** <https://forum.mikrotik.com/t/dns-name-in-tunnel-config/52778>\
**Category:** General\
**Created:** [December 21, 2011, 6:08pm UTC](https://forum.mikrotik.com/t/dns-name-in-tunnel-config/52778 "2011-12-21T18:08:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jandafields](https://forum.mikrotik.com/letter_avatar/jandafields/32/6_449c533f586939b6e5f246632a46421f.png) [@jandafields](https://forum.mikrotik.com/u/jandafields)\
**Post date:** [December 22, 2011, 9:15pm UTC](https://forum.mikrotik.com/t/dns-name-in-tunnel-config/52778/2 "2011-12-22T21:15:49Z")

</div>

> [@Cris@usai.net](#):
>
> Currently any of the Tunnel config’s only use IP’s to terminate the tunnels. requiring a static ip address to do this.  
> is their an option to have a tunnel either EIOP/GRE/IP able to use ip’s or Dns names to build a tunnel to a dynamic dns  
> name.?

You can use dynamic hostnames indirectly:  
You can use a script to lookup dynamic ip hostnames every few minutes for the tunnel ip addresses:  
[http://forum.mikrotik.com/t/ppp-dial-out-server-with-dynamic-ip-address-solved/36299/1](http://forum.mikrotik.com/t/ppp-dial-out-server-with-dynamic-ip-address-solved/36299/1)

---

_[View the full topic](https://forum.mikrotik.com/t/dns-name-in-tunnel-config/52778)._
