The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nsupdate falied to update r_de_sousa UNIX for Dummies Questions & Answers 0 10-23-2008 03:06 AM
sendmail failed after patch update incredible SUN Solaris 6 08-13-2008 12:39 AM
nsupdate - 2 zones are appended to hostname? ctcuser AIX 1 08-09-2008 11:29 AM
SFTP Failed---Request for subsystem 'sftp' failed on channel 0 mahiban AIX 0 07-25-2008 03:51 AM
g++ is OK while gcc is failed princelinux High Level Programming 3 07-08-2006 11:29 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-23-2008
r_de_sousa r_de_sousa is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 3
nsupdate failed to update

Hello all,
I am new to Unix.. i am trying to implement the TSIG in my BIND and using nsupdate to add record to bind..

this is what i did:
generate the TSIG key using : dnssec-keygen HMAC-MD5 -b 128 -n HOST mydns.com

forgot to mention: i am using FreeBSD.

I then edit the named.conf file in /var/named/etc/named with this value :
zone "customer" {
type master;
file "master/customer";

};

Key update.1.168.192.in-addr.arpa.{
algorithm HMAC-MD5;
secret "DPgvulv4e5KLE1ZGqYS61g== ";
};


zone "1.168.192.in-addr.arpa" {
type master;
file "master/1.168.192.in-addr.arpa";
allow-update {key update.1.168.192.in-addr.arpa.;};
;

i then stopped named and restart...

then i issued the command admin@root# nsupdate -d -k /usr/sbin Kmydns.+157+55558.private

i typed update add customer2.mydns.com 86400 A 192.168.1.1

then typed send.

however, i got this error message :

;; TSIG PSEUDOSECTION:
mydns.com. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1224739169 300 16 VkNx6gEY6PobdUcAwu8r3g== 29090 NOERROR 0

; TSIG error with server: tsig indicates error

Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOTAUTH, id: 29090
;; flags: qr ra ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1
;; TSIG PSEUDOSECTION:
mydns.com. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1224739169 300 0 29090 BADKEY 0

Is there anything i have missed?

please help

Audre
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0