← All Modules

assay.infoblox

Infoblox WAPI client for DNS records, networks, DHCP ranges, and grid status. Client: infoblox.client(url, {user="...", password="..."}) (basic auth). The WAPI version defaults to v2.12; override with {wapi_version="v2.13"}.

Records

Networks and Ranges

Grid

Mutation summary

records:create / records:update / records:delete are the mutations; they route through the already-gated http.post / http.put / http.delete verbs, so read-only and approval modes cover them. The read methods use http.get.

TLS / self-signed certificates

Infoblox Grid appliances typically serve WAPI over a self-signed certificate. Assay's http builtin verifies TLS and does not expose a per-request "skip verification" option, so the Grid CA (or the appliance certificate) must be trusted by the runtime — install it into the system trust store of the host or container image running the script. There is intentionally no insecure flag on this client.

Example:

local infoblox = require("assay.infoblox")
local c = infoblox.client("https://infoblox.example.com", {
  user = env.get("INFOBLOX_USER"),
  password = env.get("INFOBLOX_PASSWORD"),
})

local records = c.records:get("record:a", { name = "host.example.com" })
for _, r in ipairs(records) do
  print(r.name, r.ipv4addr)
end

local ref = c.records:create("record:a", { name = "new.example.com", ipv4addr = "10.0.0.9" })
c.records:delete(ref)