jforman / binder

Django Web Admin Gui for manging BIND DNS Zones
129 stars 41 forks source link

how add bind server #51

Open lklkxcxc opened 7 years ago

lklkxcxc commented 7 years ago

login binder web console and look server list is None

kollyma commented 6 years ago

1) prepare your DNS Server:

2) Login to the Django Admin:

et voila...

MinhKMA commented 5 years ago

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 commented 5 years ago

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

kollyma commented 5 years ago

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

MinhKMA commented 5 years ago

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

MinhKMA commented 5 years ago

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.