# Use Cloudflare or Google DNS on a dedicated server?

**URL:** <https://community.ovhcloud.com/t/use-cloudflare-or-google-dns-on-a-dedicated-server/46537>\
**Category:** Oldies but goldies\
**Created:** [Juin 8, 2018, 2:30 UTC](https://community.ovhcloud.com/t/use-cloudflare-or-google-dns-on-a-dedicated-server/46537 "2018-06-08T14:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristianV](https://community.ovhcloud.com/letter_avatar/christianv/32/6_449c533f586939b6e5f246632a46421f.png) [@ChristianV](https://community.ovhcloud.com/u/ChristianV)\
**Post date:** [Juin 8, 2018, 2:30 UTC](https://community.ovhcloud.com/t/use-cloudflare-or-google-dns-on-a-dedicated-server/46537/1 "2018-06-08T14:30:54Z")

</div>

I've a dedicated server which outgoing traffic seems to struggle to reach certain external IP addresses/websites (for a very long time) and as well often feels slow to catch up in cases where a website has changed host.   
  
Is there a way my dedicated Ubuntu 14.04 server could e.g. use Cloudflare DNS 1.1.1.1 when querying external websites (if so how) - instead of whatever is default within OVH's network structure or is this not possible to change.  
  
Christian

---

<div class="post-metadata">

**Author:** ![AdamO\_2](https://community.ovhcloud.com/letter_avatar/adamo_2/32/6_449c533f586939b6e5f246632a46421f.png) [@AdamO\_2](https://community.ovhcloud.com/u/AdamO_2)\
**Post date:** [Juin 8, 2018, 4:05 UTC](https://community.ovhcloud.com/t/use-cloudflare-or-google-dns-on-a-dedicated-server/46537/2 "2018-06-08T16:05:19Z")

</div>

Hello @ChristianV ,  
  
You can change the nameserver on Ubuntu by changing the configuration file (/etc/resolv.conf).  
  
You can use for example this command: nano /etc/resolv.conf  
  
Hope this is helpful 😉
