dns_ptr_record

Nivis Nix constructor for the dns_ptr_record resource (provider dns). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{ name, ptr, zone, cfg_name ? null, ttl ? null, overrides ? {} }
Required arguments
  • ptr
  • zone
Optional arguments
  • cfg_name (defaults to null)
  • ttl (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
dns_ptr_record {
  name = "ptr_record";
  ptr = …;  # required
  zone = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.