# NextDNS in latest firmware?

**URL:** <https://forum.gl-inet.com/t/nextdns-in-latest-firmware/9210>\
**Category:** Router\
**Created:** [December 19, 2019, 11:04am UTC](https://forum.gl-inet.com/t/nextdns-in-latest-firmware/9210 "2019-12-19T11:04:30Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![rp201rp](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@rp201rp](https://forum.gl-inet.com/u/rp201rp)\
**Post date:** [January 21, 2020, 10:27pm UTC](https://forum.gl-inet.com/t/nextdns-in-latest-firmware/9210/10 "2020-01-21T22:27:45Z")

</div>

I dont have an account with nextdns but this worked for me

```auto
cp /etc/stubby/stubby.yml /etc/stubby/stubby.yml.cloudflare

```

**file info below /etc/stubby/stubby.yml below**

```auto
resolution_type: GETDNS_RESOLUTION_STUB

dns_transport_list:
  - GETDNS_TRANSPORT_TLS

tls_authentication: GETDNS_AUTHENTICATION_REQUIRED

tls_query_padding_blocksize: 128

edns_client_subnet_private : 0

round_robin_upstreams: 0

idle_timeout: 10000

listen_addresses:
  - 127.0.0.1@53535
  - 0::1@53535

upstream_recursive_servers:
  - address_data: 45.90.28.0
    tls_auth_name: "6ffa65.dns1.nextdns.io"
  - address_data: 2a07:a8c0::0
    tls_auth_name: "6ffa65.dns1.nextdns.io"
  - address_data: 45.90.30.0
    tls_auth_name: "6ffa65.dns2.nextdns.io"
  - address_data: 2a07:a8c1::0
    tls_auth_name: "6ffa65.dns2.nextdns.io"

```

dont forget to  
webadmin/more\_settings/custom\_dns\_server/DNS over TLS from Cloudflare  
disable, then apply  
enablel, then apply

---

_[View the full topic](https://forum.gl-inet.com/t/nextdns-in-latest-firmware/9210)._
