# Override dns settings for all clients - where is it applied?

**URL:** <https://forum.gl-inet.com/t/override-dns-settings-for-all-clients-where-is-it-applied/37670>\
**Category:** Router\
**Created:** [January 23, 2024, 12:03pm UTC](https://forum.gl-inet.com/t/override-dns-settings-for-all-clients-where-is-it-applied/37670 "2024-01-23T12:03:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [January 23, 2024, 12:15pm UTC](https://forum.gl-inet.com/t/override-dns-settings-for-all-clients-where-is-it-applied/37670/2 "2024-01-23T12:15:54Z")

</div>

GL GUI -\> Network -\> DNS. Toggle both. There's no visible indicators other than those. `logread -e rebind` will tell you if you get any hits... it'll flood the log, to boot.

If you're going as far as poking around in `/etc/config/dhcp` & `/etc/config/network` you might as well use dnscrypt-proxy2. You'd have to uninstall whatever version GL has onboard if it's \< v2.0 & the GL GUI will no longer reflect the DNS settings but you'll know 'under the hood' your DNS is (eventually, once config'd) using DNSSEC, DOT/DOH, etc.

> [@zimo](#):
>
> Trying to unblock on chromecast with hardcoded dns

dnscrypt-proxy2's `allowed-names.txt`, `allowed-ips.txt` &/or `cloaking-rules.txt` will probably give you what you need.

`opgk list-installed | grep dnscrypt`

Make a backup beforehand, of course.

> **[Installation on OpenWrt](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Installation-on-OpenWrt)**
>
> dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols. - DNSCrypt/dnscrypt-proxy

> [@HOW-TO: Script: List My OPKGs (to a file for backup)](https://forum.gl-inet.com/t/how-to-script-list-my-opkgs-to-a-file-for-backup/30963):
>
> Keywords: backup, opkg, plugins, list, howto, script, shell, luci, restore, ipk, tarball, conf Description List user’s (your) installed packages, writing them to a text file that can be used to reinstall the binaries of what a user manually installed. The resulting .list file will be use to opkg install to pull from the feeds. That is done with two commands in one execution. The GL GUI doesn’t feature a backup function. Creating & restoring a backup achieve (.tar.gz, aka tarball) of all your…

---

_[View the full topic](https://forum.gl-inet.com/t/override-dns-settings-for-all-clients-where-is-it-applied/37670)._
