Using nsupdate to make dynamic DNS changes

The command, nsupdate is used to perform dynamic DNS updates from the CLI.

Before the dynamic update:

jemurray@linux-host:~ $ host
Host not found: 3(NXDOMAIN)

Running the dynamic update command:

jemurray@linux-host:~$ nsupdate
> server
> update add 86400 A
> send

If the dynamic updates fails, verify there are no ACL’s prohibiting dynamic updates:

May 11 08:14:20 named[31289]: client update '' denied

The allow-update line is used to control which IP addresses are allowed to send dynamic updates:

zone "" in { #
  type master;
  database infoblox_zdb;
  masterfile-format raw;
  file "azd/";
  allow-update { key DHCP_UPDATER_default;;; };
  notify yes;

Validate the change executed properly:

jemurray@linux-host:~$ host
dyntest.jason.example has address