# Yunohost 2.4: how to set up a fully recursive DNS resolver?

**URL:** https://forum.yunohost.org/t/yunohost-2-4-how-to-set-up-a-fully-recursive-dns-resolver/1805
**Category:** Support
**Tags:** english
**Created:** [August 1, 2016, 4:20pm UTC](https://forum.yunohost.org/t/yunohost-2-4-how-to-set-up-a-fully-recursive-dns-resolver/1805 "2016-08-01T16:20:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![insertrealname](https://forum.yunohost.org/user_avatar/forum.yunohost.org/insertrealname/32/430_2.png) [@insertrealname](https://forum.yunohost.org/u/insertrealname)
#### Post date: [August 1, 2016, 4:20pm UTC](https://forum.yunohost.org/t/yunohost-2-4-how-to-set-up-a-fully-recursive-dns-resolver/1805/1 "2016-08-01T16:20:22Z")

</div>

My VPS provider configures OpenVZ to use the Google Public IPv4/6 DNS resolvers (8.8.8.8 etc.). Running the latest Yunohost 2.4 on Debian 8, this means that all the DNS resolution is forwarded to Google’s servers. For various reasons, I don’t want to do this, preferring to have my Yunohost do the entire recursive lookup.

According to [[Solved] Configuring DNS resolver / Configurer le DNS interne](https://forum.yunohost.org/t/solved-configuring-dns-resolver-configurer-le-dns-interne/991/4) Yunohost can do its own recursive DNS resolution via a slightly changed dnsmasq configuration in file /etc/dhcp/dhclient (the dnsmasq.conf file mentions that resolv-file=/etc/resolv.conf is already the default)

But that file does not exist in Yunohost 2.4: where is dnclient getting its configuration information in 2.4?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [January 18, 2023, 8:11pm UTC](https://forum.yunohost.org/t/yunohost-2-4-how-to-set-up-a-fully-recursive-dns-resolver/1805/2 "2023-01-18T20:11:22Z")

</div>


