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.

  • Method Details

    • run

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