Pricing
With Google Cloud DNS you only pay for actual usage. Billing occurs on a monthly basis.
Pricing table
Metric | Price |
---|---|
Queries: 0-1 billion | $0.40 per million queries. |
Queries: over 1 billion | $0.20 per million queries per month. |
Managed Zones: 0-25 | $0.20 per managed zone per month |
Managed Zones: 25+ | $0.10 per managed zone per month for each additional zone after 25. |
Pricing example
For a given month, assume that you have a project with one managed zone and the total DNS queries for your project is 100,000. The following calculation determines your cost:
Total zones: 1 Price per zone: $0.20 ------------------------------ Total cost of zones: $0.20 Total DNS queries: 100,000 Cost ( 100,000 / 1,000,000 ) x $0.40 = $0.04 Subtotals: Zones: $0.20 Queries: $0.04 ---------------- Total: $0.24
In this situation, your cost for the Cloud DNS is $0.24 for the given month.
High traffic example
In this situation, assume that you have very popular site that receives a very high amount of traffic every month. Your project is configured with 10 managed zones. Within those zones, you have a total of 1,234,567,890 DNS queries for the month. The following calculation determines your costs:
Total zones: 10 Price per zone: $0.20 ------------------------------ Total cost of zones: $2 Total DNS queries: 1,234,567,890 Queries over 1 billion: 234,567,890 Price of first billion queries: ( 1,000,000,000 / 1,000,000 ) x $0.40 = $400 Price of queries over a billion: ( 234,567,890 / 1,000,000 ) x $0.20 = $ 46.91 Subtotals: Zones: $2 Queries: $446.91 ----------------- Total: $448.91
Reducing costs
The TTL value that you set on your records will affect the number of queries that are generated for your zones. Depending on your situation, you might consider raising your TTL value to lengthen the amount of time that your resource records are cached to reduce queries.
A higher TTL value will mean that subsequent DNS changes take longer to propagate to all users.