nsupdate configuration

Charles Bodley Bodley at tflogic.com
Sun Jul 1 20:22:01 UTC 2001


I'm trying to setup nsupdate so that it can modify a single domain. As a
test I created the domain ABC.com.

key DDNS_UPDATER {
        algorithm HMAC-MD5;
        secret AAAABBBBCCCCDDDDEEEEFFFF;
};
zone "ABC.com"{
       type master;
       file "db.ABC_com";
        allow-update { key DDNS_UPDATER; };
};
The command I am sending is

nsupdate -y DDNS_UPDATOR:AAAABBBBCCCCDDDDEEEEFFFF 1

where 1 is the name of a file in the PWD. The contents of the file follow,
server 127.0.0.1
local 127.0.0.1
zone ABC.com
update delete login.ABC.com
prereq nxdomain login.abc.com
update add login.abc.com 30 CNAME login-a.abc.com

>From what I've read in the Bv9ARM.pdf and the man pages it should be
working. Yet when I send the command the result is
dns_request_getresponse: tsig indicates error

If anyone has any Ideas please let me know. I will eventally have 2 files so
that I can switch between login-a and login-b. Any help would be
appreciated.

Charles A. Bodley
Technician
TF Logic

"It's amazing what you can do with a kind word,
provided you've also got a big stick."
- Johnny and the Dead





More information about the bind-users mailing list