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 of type=A) or alias whose hostname will need to be updated (in case of type=CNAME). metadata: unique, required, string, no default. πŸ‘‘
  • type β€” The type of DNS record that need to be updated (A or CNAME). 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 the nsupdate man 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 the nsupdate command, 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 to nsupdate. 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