Sending Dynamic Updates to a Particular Name Server

5.21.1 Problem

You want to send a dynamic update to a particular name server, possibly not the one in the MNAME field of the zone's SOA record.

5.21.2 Solution

Use the BIND 9 version of nsupdate and specify the name server you want to send the update to as the argument to the server command. Then specify the update with an update command. For example:

$ nsupdate
> server ns2.foo.example.
> update delete foo.example. TXT
> update add foo.example. 3600 TXT "This is a test record"
> send

5.21.3 Discussion

nsupdate continues to send updates to the specified name server until you designate a different name server with another server command or exit.

The BIND 8 version of nsupdate doesn't support the server command, but you can use a BIND 9 nsupdate with a BIND 8 name server. In fact, you can use nsupdate with any name server that supports dynamic update. Dynamic update messages have a standard format, after all.

You can use an IP address as the argument to server, too.

5.21.4 See Also

nsupdate(8).

Getting Started

Zone Data

BIND Name Server Configuration

Electronic Mail

BIND Name Server Operations

Delegation and Registration

Security

Interoperability and Upgrading

Resolvers and Programming

Logging and Troubleshooting

IPv6



DNS & BIND Cookbook
DNS & BIND Cookbook
ISBN: 0596004109
EAN: 2147483647
Year: 2005
Pages: 220
Authors: Cricket Liu

Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net