logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gdnsd-plugin-null - gdnsd null plugin

Description

gdnsd-plugin-null exists mostly as an example of the minimum possible plugin of both types.  It is
       simultaneously both a monitoring plugin and a resolution plugin.

       When used as a resolution plugin in "DNYA" or "DYNC" RRs, it ignores any resource name provided.  It
       always returns the IPv4 address 0.0.0.0 and the IPv6 address "::".

       When used as a monitoring plugin by defining a service_type as shown in the example above it emulates the
       behavior of a real monitoring plugin (updating at correct intervals, etc) but sends a "DOWN" result at
       every monitoring check interval without actually checking anything.

Name

       gdnsd-plugin-null - gdnsd null plugin

See Also

gdnsd.config(5), gdnsd.zonefile(5), gdnsd(8)

       The gdnsd manual.

Synopsis

       Example null service_types config:

         service_types => {
           my_null_mon => {
             plugin => null,
             # ... other generic service_type params
           }
         }

       Zonefile RRs using null resolution

         foo 300 DYNA null
         bar 300 DYNC null!whatever

See Also