OCF_HEARTBEAT_DNSUPD(7)
π NAME π
okay bestie, welcome to the OCF_HEARTBEAT_DNSUPD(7) page from OCF resource agents β this is the ocf_heartbeat_dnsupdate resource agent, and it's literally about IP take-over via dynamic DNS update. no cap. π
π¦ SYNOPSIS π¦
dnsupdate [start | stop | status | monitor | meta-data | validate-all]
πΈ DESCRIPTION πΈ
This resource agent manages IP take-over via dynamic DNS updates. that's the whole main-character job, fr fr. β¨
π SUPPORTED PARAMETERS π
okay so here are the parameters, with the receipts so you don't miss a single one:
hostnameβ Either the hostname whose IP address will need to be updated (in case oftype=A) or alias whose hostname will need to be updated (in case oftype=CNAME). metadata:unique, required, string, no default. πtypeβ The type of DNS record that need to be updated (AorCNAME). metadata:optional, string, default "A".ipβ IP address to set. metadata:optional, string, no default.cnameβ The CNAME whose hostname address will need to be updated. metadata:optional, string, no default.ttlβ Time to live, in seconds, for the DNS record. This affects how soon DNS updates propagate. It should be a reasonable compromise between update speed and DNS server load. If using booth, the ticket timeout is a good start. metadata:optional, integer, default 300.keyfileβ The file containing the shared secret needed to update the DNS record. Please see thensupdateman page for the exact syntax. metadata:optional, string, no default.serverβ Which DNS server to send these updates for. When no server is provided, this defaults to the promoted server for the correct zone. metadata:optional, string, no default.serverportβ Port number on the DNS server. β οΈ Note: due to a limitation in thensupdatecommand, this option will only take effect if you also specify the DNS server! metadata:optional, integer, default 53.nsupdate_optsβ Additional options to be passed tonsupdate. metadata:optional, string, no default.unregister_on_stopβ Whether or not to actively remove records on stop. This is not needed for normal operation, since the site taking over the IP address will delete all previous records. metadata:optional, boolean, default false.
π₯ SUPPORTED ACTIONS π₯
This resource agent supports the following actions (operations):
startβ Starts the resource. Suggested minimum timeout:30s.stopβ Stops the resource. Suggested minimum timeout:30s.statusβ Performs a status check. Suggested minimum timeout:30s. Suggested interval:10s.monitorβ Performs a detailed status check. Suggested minimum timeout:30s. Suggested interval:10s.meta-dataβ Retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s.validate-allβ Performs a validation of the resource configuration. Suggested minimum timeout:5s.
π§ EXAMPLE CRM SHELL π§
The following is an example configuration for a dnsupdate resource using the crm(8) shell:
primitive p_dnsupdate ocf:heartbeat:dnsupdate \
params \
hostname=string \
op monitor depth="0" timeout="30s" interval="10s"
π¦ EXAMPLE PCS π¦
The following is an example configuration for a dnsupdate resource using pcs(8):
pcs resource create p_dnsupdate ocf:heartbeat:dnsupdate \
hostname=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
π SEE ALSO π
http://clusterlabs.org/ β go check it out, bestie. π«Ά
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). they ate, no crumbs. π
k bye bestie β this page is from resource-agents UNKNOWN, dated 10/01/2026. stay iconic, and may your DNS updates always propagate. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms