Error 1000 with CloudFlare DNS

      Last updated November 03, 2017

    Using CloudFlare for DNS and other CDNs can cause CloudFlare to show an Error 1000 indicating that your DNS points to prohibited IP addresses. This occurs when the hostnames are CNAMEed to Fastly and an origin server is configured as a fully qualified domain name (FQDN) within Fastly:

    the old server

    To solve this error, direct Fastly to use the IP address as the host for any backend origin servers. This removes the need to resolve the hostname for traffic to the servers:

    the new server

    You can also change this by modifying the VCL configuration files directly. For example, this VCL:

    1
    2
    3
    4
    5
    
    backend F_Hosting_server_Example_Backend {
      ...
      .port = "80";
      .host = "exampleserver.exampledomain.tld";
    }
    

    would become:

    1
    2
    3
    4
    5
    
    backend F_Hosting_server_Example_Backend {
      ...
      .port = "80";
      .host = "12.34.56.78";
    }
    
    Back to Top