Add testdata to repo, named.conf and forward/reverse zones.
Clean up the main readme.md
This commit is contained in:
parent
7fc67cb542
commit
52a80a90f2
|
@ -50,11 +50,6 @@ Where /etc/bind/test.key:
|
|||
|
||||
Deploy the Django application as you see fit, and create the database via `manage.py syncdb`.
|
||||
|
||||
Using the Admin UI, add each DNS Server to the 'Bind Servers' model under the bcommon app.
|
||||
Using the Admin UI, add each DNS Server to the 'Bind Servers' model.
|
||||
|
||||
Once you have completed this, surf over to the URL where the binder Django app is installed and enjoy.
|
||||
|
||||
## Todo ##
|
||||
|
||||
* Associate Keys with DNS Servers
|
||||
* Should we auto-populate the DB with a DNS Server's zones upon add?
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
Binder Test Data Readme
|
||||
=======================
|
||||
|
||||
Description
|
||||
-----------
|
||||
Contained in this directory are the Bind configuration and zone files necessary to run the integration tests.
|
||||
|
||||
These configuration files were tested on a Ubuntu 12.10 x64 server running Bind 9.8.1.
|
||||
|
||||
### named.conf
|
||||
|
||||
Bind's standard configuration file for options and zone data.
|
||||
|
||||
This is expected to be installed in /etc/named/
|
||||
|
||||
## binder-test.key
|
||||
|
||||
TSIG key file used for securing zone transfers and updates. Key name contained is "test-key",
|
||||
using the MD5 algorithm.
|
||||
|
||||
This is expected to be installed in /etc/named/
|
||||
|
||||
## domain1.local
|
||||
|
||||
Forward Zone file for domain 'domain1.local'. This contains no records initially on purpose.
|
||||
|
||||
This is expected to be installed in /var/lib/bind/
|
||||
|
||||
## db.10.254.1
|
||||
|
||||
Reverse zone file for domain 'domain1.local'. This contains no records initially on purpose.
|
||||
|
||||
This is expected to be installed in /var/lib/bind/
|
|
@ -0,0 +1,6 @@
|
|||
// Key to be used in Binder integration tests
|
||||
|
||||
key "test-key" {
|
||||
algorithm hmac-md5;
|
||||
secret "kTcmbjZNULvw3qnyZwq5sw==";
|
||||
};
|
|
@ -0,0 +1,9 @@
|
|||
$ORIGIN 1.254.10.IN-ADDR.ARPA.
|
||||
@ 1D IN SOA ns1.example.com. mymail.example.com. (
|
||||
1 ; serial
|
||||
3H ; refresh
|
||||
15 ; retry
|
||||
1w ; expire
|
||||
3h ; minimum
|
||||
)
|
||||
IN NS localhost. ; in the domain
|
|
@ -0,0 +1,9 @@
|
|||
$ORIGIN domain1.local.
|
||||
@ 1D IN SOA ns1.example.com. mymail.example.com. (
|
||||
1 ; serial
|
||||
3H ; refresh
|
||||
15 ; retry
|
||||
1w ; expire
|
||||
3h ; minimum
|
||||
)
|
||||
IN NS localhost. ; in the domain
|
Loading…
Reference in New Issue