Re: tsig indicates error

2015-07-27 Thread Managed Pvt nets



On 24/07/2015 6:07:09 PM, John Miller johnm...@brandeis.edu wrote:



On Fri, Jul 24, 2015 at 11:52 AM, Mark Elkins m...@posix.co.za wrote:

On Fri, 2015-07-24 at 15:44 +, Managed Pvt nets wrote:


 On 24/07/2015 5:05:24 PM, Alan Clegg a...@clegg.com wrote:

  Possible problems:
 Mismatched keys.
 Mismatched key names.
 Mismatched clocks.

 Most likely mismatched key.  I have to figure out how to make sure 
my

 master does not require TSIGs and my slave does not try to use them.


TSIG is a step towards better security. Rather learn how to use it 
than

go backwards. I see TSIG as a step towards DNSSEC...


I'm with Mark on this.  TSIG isn't that tough to figure out--a couple 
hours and you should have it down.  Cricket/Paul's book, and Pro DNS 
and BIND 10 are good intros to the subject.  I'm installing a copy of 
Debian 8.1 for myself right now--I'm curious to see what the stock BIND 
config looks like (we use RHEL here at the office).


Thanks all. I finally got this working.

===
Jul 27 14:40:24 hostname named[6016]: zone myzone.co.zw/IN: transferred 
serial 2015072400: TSIG 'rndc-key'

===

many thanks




___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-27 Thread Tony Finch
Managed Pvt nets m...@icabs.co.zw wrote:

 Jul 27 14:40:24 hostname named[6016]: zone myzone.co.zw/IN: transferred 
 serial 2015072400: TSIG 'rndc-key'

It isn't a very good idea to use the same key for zone transfers and
for rndc. It is common to allow zone transfers to third parties, and
you don't want them to be able to fiddle with your name server!

Best to have separate keys for rndc and different keys for each secondary
(or for each set of secondaries under the same management).

Tony.
-- 
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Biscay: Northwest 5 or 6, occasionally 4 later. Moderate or rough. Fair. Good.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: tsig indicates error

2015-07-27 Thread Evan Hunt
On Mon, Jul 27, 2015 at 04:33:06PM +0100, Tony Finch wrote:
 It isn't a very good idea to use the same key for zone transfers and
 for rndc. It is common to allow zone transfers to third parties, and
 you don't want them to be able to fiddle with your name server!

Sometimes, in my experience, people do this because rndc-confgen is
relatively easy to use, but generating other keys using dnssec-keygen
is cumbersome.

So I'll just take this opportunity to mention that in the more recent
versions of BIND you can use 'tsig-keygen name', it's much easier.  Or
if you're on an older release, 'ddns-confgen -q -k name' does the same
thing.

-- 
Evan Hunt -- e...@isc.org
Internet Systems Consortium, Inc.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: tsig indicates error

2015-07-24 Thread Managed Pvt nets



On 24/07/2015 5:03:12 PM, John Miller johnm...@brandeis.edu wrote:





If you're not intending to use TSIG, make sure your master doesn't 
require it and that your slave doesn't try to use it for its AXFRs.


I think this is what I have to figure out to do.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread John Miller
On Fri, Jul 24, 2015 at 10:52 AM, Managed Pvt nets m...@icabs.co.zw wrote:

  Hi All,

 I have recently built a server to act as a secondary / slave for my zones.
 Built on Debian 8.1 and running BIND 9.9.5. On trying to transfer zones
 from my master I am getting this error here, what could I be missing:

 ===
 Jul 24 15:33:55 huffer named[493]: zone myzonename.co.zw/IN: refresh:
 failure trying master aaa.bbb.ccc.ddd#53 (source 0.0.0.0#0): tsig indicates
 error
 ===


Hi Mollatt,

This usually means what it says: there's an error with the TSIG
authentication between master and slave.  Make sure you've got your
allow-transfer statements configured with the proper keys, that you've got
server {} blocks configured with the proper keys, and that a copy of the
slave key lives on the master.

If you're not intending to use TSIG, make sure your master doesn't require
it and that your slave doesn't try to use it for its AXFRs.

John
-- 
John Miller
Systems Engineer
Brandeis University
johnm...@brandeis.edu
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread John Miller
On Fri, Jul 24, 2015 at 11:52 AM, Mark Elkins m...@posix.co.za wrote:

 On Fri, 2015-07-24 at 15:44 +, Managed Pvt nets wrote:
 
 
  On 24/07/2015 5:05:24 PM, Alan Clegg a...@clegg.com wrote:
 
   Possible problems:
  Mismatched keys.
  Mismatched key names.
  Mismatched clocks.
 
  Most likely mismatched key.  I have to figure out how to make sure my
  master does not require TSIGs and my slave does not try to use them.


 TSIG is a step towards better security. Rather learn how to use it than
 go backwards. I see TSIG as a step towards DNSSEC...


I'm with Mark on this.  TSIG isn't that tough to figure out--a couple hours
and you should have it down.  Cricket/Paul's book, and Pro DNS and BIND 10
are good intros to the subject.  I'm installing a copy of Debian 8.1 for
myself right now--I'm curious to see what the stock BIND config looks like
(we use RHEL here at the office).

John
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread Alan Clegg
Possible problems:
   Mismatched keys.
   Mismatched key names.
   Mismatched clocks.

On 7/24/2015 10:52 AM, Managed Pvt nets wrote:
 Hi All,
  
 I have recently built a server to act as a secondary / slave for my
 zones. Built on Debian 8.1 and running BIND 9.9.5. On trying to
 transfer zones from my master I am getting this error here, what could
 I be missing:
  
 ===
 Jul 24 15:33:55 huffer named[493]: zone myzonename.co.zw/IN: refresh:
 failure trying master aaa.bbb.ccc.ddd#53 (source 0.0.0.0#0): tsig
 indicates error
 ===
  
 regards,
  
 Mollatt.


 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
 from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users



signature.asc
Description: OpenPGP digital signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread Managed Pvt nets



On 24/07/2015 5:05:24 PM, Alan Clegg a...@clegg.com wrote:


Possible problems:
   Mismatched keys.
   Mismatched key names.
   Mismatched clocks.


Most likely mismatched key.  I have to figure out how to make sure my 
master does not require TSIGs and my slave does not try to use them.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread Mark Elkins
On Fri, 2015-07-24 at 15:44 +, Managed Pvt nets wrote:
  
  
 On 24/07/2015 5:05:24 PM, Alan Clegg a...@clegg.com wrote:
  
  Possible problems:
 Mismatched keys.
 Mismatched key names.
 Mismatched clocks.
  
 Most likely mismatched key.  I have to figure out how to make sure my
 master does not require TSIGs and my slave does not try to use them. 


TSIG is a step towards better security. Rather learn how to use it than
go backwards. I see TSIG as a step towards DNSSEC...

-- 
Mark James ELKINS  -  Posix Systems - (South) Africa
m...@posix.co.za   Tel: +27.128070590  Cell: +27.826010496
For fast, reliable, low cost Internet in ZA: https://ftth.posix.co.za


smime.p7s
Description: S/MIME cryptographic signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: tsig indicates error

2015-07-24 Thread Mark Elkins
On Fri, 2015-07-24 at 11:05 -0400, Alan Clegg wrote:
 Possible problems:
Mismatched keys.
Mismatched key names.
Mismatched clocks.

Yes - running some sort of Time Synchronisation is often overlooked.
Check: Simultaneously run date on both machines - must be within 5
minutes of each other.
To Do: Enable NTP or similar.

As you are in Zimbabwe, Liquid should be able to provide you with IP's
for Time Servers

If you look carefully in the logs of both machines - there is often more
clue to the error.


 On 7/24/2015 10:52 AM, Managed Pvt nets wrote:
 
  Hi All,
   
  I have recently built a server to act as a secondary / slave for my
  zones. Built on Debian 8.1 and running BIND 9.9.5. On trying to
  transfer zones from my master I am getting this error here, what
  could I be missing:
   
  ===
  Jul 24 15:33:55 huffer named[493]: zone myzonename.co.zw/IN:
  refresh: failure trying master aaa.bbb.ccc.ddd#53 (source
  0.0.0.0#0): tsig indicates error
  ===
   
  regards,
   
  Mollatt.

-- 
Mark James ELKINS  -  Posix Systems - (South) Africa
m...@posix.co.za   Tel: +27.128070590  Cell: +27.826010496
For fast, reliable, low cost Internet in ZA: https://ftth.posix.co.za


smime.p7s
Description: S/MIME cryptographic signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users