Welcome to Centmin Mod Community
Register Now

Cloudflare DNS vs Local DNS

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

  1. KlueMaster

    KlueMaster Member

    57
    10
    8
    Aug 5, 2017
    Ratings:
    +21
    Local Time:
    4:43 AM
    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

    46,180
    10,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,278
    Local Time:
    9:13 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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