Class RefreshDnsForAllDomainsAction

java.lang.Object
google.registry.tools.server.RefreshDnsForAllDomainsAction
All Implemented Interfaces:
Runnable

public class RefreshDnsForAllDomainsAction extends Object implements Runnable
A task that enqueues DNS publish tasks on all active domains on the specified TLD(s).

This refreshes DNS both for all domain names and all in-bailiwick hostnames, as DNS writers are responsible for enqueuing refresh tasks for subordinate hosts. So this action thus refreshes DNS for everything applicable under all TLDs under management.

You may pass in a batchSize for the batched read of domains from the database. This is recommended to be somewhere between 200 and 500. The default value is 250.

If activeOrDeletedSince is passed in the request, this action will enqueue DNS publish tasks on all domains with a deletion time equal or greater than the value provided, including domains that have since been deleted.

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable