Name

nsupdate

Synopsis

nsupdate [options] [filename]

System administration command. Interactively submit dynamic DNS update requests to a nameserver. Use nsupdate to add or remove records from a zone without manually editing the zone file. Commands may be entered interactively or read from filename. An update message is built from multiple commands, some establishing prerequisites, some adding or deleting resource records. Messages are executed as a single transaction. A blank line or the send command will send the current message. Lines beginning with a semicolon are treated as comments. For additional information on dynamic DNS updates, see RFC 2136.

Options

-d

Print additional tracing information usable for debugging.

-k keyfile

Read encrypted transaction signature key from keyfile. The key should be encrypted using the HMAC-MD5 algorithm. Keyfiles are generated by the dnssec-keygen command.

-r n

Retry UDP n times. Default is 3.

-t seconds

Set request timeout. Default is 300 seconds. 0 disables timeout.

-u seconds

Set UDP retry interval. Default is 3 seconds. If 0, then interval is computed from the time out and retry values.

-v

Use TCP instead of UDP to send update requests.

-y keyname:secret

Generate transaction signature from specified keyname and secret.

Interactive commands

answer

Print answer.

class classname

Set default class to classname instead of the normal default IN.

key keyname secret

Generate transaction signature from specified keyname and secret. This command overrides command-line options ...

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.