Join the community today
Register Now

Cloudflare DNS vs Local DNS

Discussion in 'Domains, DNS, Email & SSL Certificates' started by KlueMaster, Jul 1, 2019.

  1. KlueMaster

    KlueMaster Member

    73
    11
    8
    Aug 5, 2017
    Ratings:
    +30
    Local Time:
    5:57 PM
    MariaDB 10
    Hi,

    Just wondering if using a local DNS sever (on same machine/IP as the web server) could offer any speed advantages over a third party DNS server (like cloudflare)?


    The reason being that my fresh WordPress installation (on CMM beta) with default config is taking nearly 5 seconds to load, with ~2.5 seconds going towards server response.

    Probably secure socket connection time can improve if cloudflare didn't appear in front of nginx.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,602
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    10:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Depends entirely on the performance of your local server's DNS resolution. But server response time has many factors including how faster your mysql server communicates with php and how fast php passes that to nginx etc. You can test with webpagetest.org to drill down into server response metrics including dns WebPerf - PageSpeed - How to use webpagetest.org for page load speed testing