Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tsig-key

135 views
Skip to first unread message

Mohammed Ejaz

unread,
Jun 10, 2014, 11:56:39 AM6/10/14
to bind-...@lists.isc.org, Ejaz Ahmed

 

 

I have info blox DNS appliance and slave is  BIND 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.4, now the problem is "Zone transfer wont happening"  when I am enabling Tsig key at master server of infoblox. It gives you the error like " client request has invalid signature tsig tranfer: tisg verify failure"

 

 

Here is the configuration, I was trying to do it.  .  

 

My client/slave server configuration, the  file created tsig.key under /var/named  with the following entries nI

 

 

key "TRANSFER" {

algorithm HMAC-MD5;

#secret "ODvOnAg9F2j2Y09jTQRC276h1vY=";

secret "egr5WSDQAlP54KrnWweRjg==";

};

 

 

# Master server IP

server 195.88.245.33 {

keys { TRANSFER; };

};

 

In named.conf file on the slave server.  

 

include "/var/named/tsigkeys";

 

 

Any help would be highly appreciated.

 

Thanks

 

Ejaz Sys admin

 

 

 

Mark Andrews

unread,
Jun 10, 2014, 6:09:39 PM6/10/14
to Mohammed Ejaz, Ejaz Ahmed, bind-...@isc.org

In message <032d01cf84c4$93869180$ba93b480$@cyberia.net.sa>, "Mohammed Ejaz" wr
ites:
Does the key name match?
Does the secret match?
Does the algorithm match?
If you are using truncated tsig does the length match?
If you are using views is the server clause within the view?

Time should be ok as there is a different error code with a
different description.

Have you tried testing this with dig?

dig -y TRANSFER:egr5WSDQAlP54KrnWweRjg== axfr <zone> @195.88.245.33 +all

e.g.
% dig -y TRANSFER:egr5WSDQAlP54KrnWweRjg== axfr dv.isc.org +all
;; Couldn't verify signature: tsig indicates error

; <<>> DiG 9.11.0pre-alpha <<>> -y TRANSFER axfr dv.isc.org +all
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOTAUTH, id: 15607
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;dv.isc.org. IN AXFR

;; TSIG PSEUDOSECTION:
transfer. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1402438051 300 0 15607 BADKEY 0

; Transfer failed.
%

Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org

Doug Barton

unread,
Jun 10, 2014, 8:17:17 PM6/10/14
to Mohammed Ejaz, bind-...@lists.isc.org, Ejaz Ahmed
On 06/10/2014 08:56 AM, Mohammed Ejaz wrote:
> Any help would be highly appreciated.

Switch to BlueCat which does all communication with TSIG by default? :)

Sorry, couldn't resist ...

Doug


0 new messages