Merge branch 'master' of https://git.myonline.hu/pty/smbind-ng
This commit is contained in:
commit
0ee6abf7f4
18
INSTALL.md
18
INSTALL.md
|
@ -42,17 +42,25 @@ by owned group.
|
|||
2. Create a file with same permissions in this directory for saving zone
|
||||
definitions - eg.
|
||||
*touch smbind-ng.conf.*
|
||||
3. Create a subdirectory for keeping zone files with same permissions at the
|
||||
step 1.
|
||||
3. Create a subdirectory for keeping zone files with write permissions by
|
||||
www-data and bind group.
|
||||
|
||||
### Modify bind configuration
|
||||
On your bind options set this folder to use with *directory* option and
|
||||
*managed-keys* option (folder created at the step 3 above).
|
||||
Include the master and slave configuration files into your bind config - what
|
||||
created at the step 2.
|
||||
Include the master configuration files into your bind config - what created at
|
||||
the step 2.
|
||||
|
||||
Restart your bind daemon.
|
||||
|
||||
#### *Under bind9.9 or later only*
|
||||
You need to add your options the
|
||||
*masterfile-format text;*
|
||||
line, because these versions keep the zone files as binary format, and you
|
||||
couldn't preview the slave zones as human readable.
|
||||
|
||||
Restart your bind daemon
|
||||
|
||||
### Database
|
||||
Create a database user with full permission to access a non existing database
|
||||
with any name.
|
||||
|
@ -148,4 +156,4 @@ dig - Place of your binary. Default if found: */usr/bin/dig*
|
|||
http(s)://your.virtualhost.here/path
|
||||
|
||||
Global admin username: **admin**
|
||||
Initial password: **SMBind-ng2016**
|
||||
Initial password: **SMBind-ng2016**
|
|
@ -32,4 +32,7 @@ This fork has many improvements, security changes and new features
|
|||
|
||||
## Attention
|
||||
The main repository there is in [my own](https://git.myonline.hu/pty/smbind-ng)
|
||||
site. Please use that mainly.
|
||||
site. Please use that mainly.
|
||||
|
||||
## Installation
|
||||
See [INSTALL.md](INSTALL.md)
|
12
mysql.sql
12
mysql.sql
|
@ -29,7 +29,7 @@ CREATE TABLE `dnssec_keys` (
|
|||
KEY `arch` (`archive`),
|
||||
KEY `filen` (`filename`),
|
||||
CONSTRAINT `fkdskeys` FOREIGN KEY (`dszone`) REFERENCES `dnssec_zones` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
@ -56,7 +56,7 @@ CREATE TABLE `dnssec_zones` (
|
|||
UNIQUE KEY `id` (`id`),
|
||||
KEY `dsnam` (`zone`),
|
||||
CONSTRAINT `fkdszones` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
@ -114,7 +114,7 @@ CREATE TABLE `records` (
|
|||
KEY `reczone` (`zone`),
|
||||
KEY `rech` (`host`),
|
||||
CONSTRAINT `fkrecords` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=765 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
@ -144,7 +144,7 @@ CREATE TABLE `slave_zones` (
|
|||
UNIQUE KEY `sznam` (`name`),
|
||||
KEY `szupd` (`updated`),
|
||||
KEY `szow` (`owner`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
@ -173,7 +173,7 @@ CREATE TABLE `users` (
|
|||
UNIQUE KEY `usnam` (`username`),
|
||||
KEY `uspass` (`password`),
|
||||
KEY `admin` (`admin`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
@ -212,7 +212,7 @@ CREATE TABLE `zones` (
|
|||
KEY `zonval` (`valid`),
|
||||
KEY `zonow` (`owner`),
|
||||
KEY `zonupd` (`updated`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue