binder icon indicating copy to clipboard operation
binder copied to clipboard

how add bind server

Open lklkxcxc opened this issue 7 years ago • 6 comments

login binder web console and look server list is None

lklkxcxc avatar Aug 28 '17 09:08 lklkxcxc

  1. prepare your DNS Server:
  • Enable Bind Statistics Channel
  • Create TSIG Key (example: dnssec-keygen -a HMAC-MD5 -b 128 -n HOST rndc-key )
  • add the key to the DNS Zone. Details are here: https://github.com/jforman/binder
  1. Login to the Django Admin:
  • http://:8000/admin/
  • Add key object, paste the TSIG Key
  • Add DNS server object and map it to the TSIG Key

et voila...

kollyma avatar Nov 13 '17 08:11 kollyma

hello kollyma, I want to add the DNS server to binder. I created key by commad dnssec-keygen -a HMAC-MD5 -b 128 -n HOST rndc-key . My key is:

[root@master named]# cat Krndc-key.+157+18910.private 
Private-key-format: v1.3
Algorithm: 157 (HMAC_MD5)
Key: H9ELPeHMNsNW+KyBYZ2biw==
Bits: AAA=
Created: 20181114100836
Publish: 20181114100836
Activate: 20181114100836

In tab admin, i dont know data. its it H9ELPeHMNsNW+KyBYZ2biw== in this key? https://prnt.sc/li7q7c Thank you for support!

MinhKMA avatar Nov 14 '18 11:11 MinhKMA

My problem is: https://prnt.sc/li7tdk

MinhKMA avatar Nov 14 '18 11:11 MinhKMA

Hi MinhKMA

Did you configure the same key on the bind server:

key "<key-name>" {
  algorithm hmac-md5;
  secret "<key-value>";
};

Moreover you have to allow rndc commands from the remote server (binder) as well:

controls {
  inet 127.0.0.1 allow { <binder-host>; } keys { <key-name>; };
};

Follow this guide for bind configuration: https://www.centos.org/docs//2/rhl-rg-en-7.2/s1-bind-rndc.html

kollyma avatar Nov 14 '18 14:11 kollyma

i have to allow rndc commands from the remote server (binder) bit it bot oke :(

MinhKMA avatar Nov 14 '18 17:11 MinhKMA

Hello kollyma, i have problem: Unable to get zone list. A problem was encountered decrypting your TSIG key. Ensure the key is correctly specified in the Binder Database.

MinhKMA avatar Nov 14 '18 17:11 MinhKMA