gdnsd-plugin-null8
Gdnsd null plugin
Usage
Example null
service_types
config:
Zonefile RRs
using
null
resolution
foo 300
DYNA
null
bar 300
DYNC
null!whatever
Overview
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.
Copyright and license
Copyright (c) 2014 Brandon L Black <[email protected]>
This file is part of gdnsd.
gdnsd is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
gdnsd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with gdnsd. If not, see <http://www.gnu.org/licenses/>.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.