Commit 0ee6abf7f4ca4154d060dc246ccdea0fbf22bb17

Authored by root
2 parents e0ece00d c178779a

Merge branch 'master' of https://git.myonline.hu/pty/smbind-ng

INSTALL.md
... ... @@ -42,17 +42,25 @@ by owned group.
42 42 2. Create a file with same permissions in this directory for saving zone
43 43 definitions - eg.
44 44 *touch smbind-ng.conf.*
45   -3. Create a subdirectory for keeping zone files with same permissions at the
46   -step 1.
  45 +3. Create a subdirectory for keeping zone files with write permissions by
  46 +www-data and bind group.
47 47  
48 48 ### Modify bind configuration
49 49 On your bind options set this folder to use with *directory* option and
50 50 *managed-keys* option (folder created at the step 3 above).
51   -Include the master and slave configuration files into your bind config - what
52   -created at the step 2.
  51 +Include the master configuration files into your bind config - what created at
  52 +the step 2.
53 53  
54 54 Restart your bind daemon.
55 55  
  56 +#### *Under bind9.9 or later only*
  57 +You need to add your options the
  58 + *masterfile-format text;*
  59 +line, because these versions keep the zone files as binary format, and you
  60 +couldn't preview the slave zones as human readable.
  61 +
  62 +Restart your bind daemon
  63 +
56 64 ### Database
57 65 Create a database user with full permission to access a non existing database
58 66 with any name.
... ... @@ -148,4 +156,4 @@ dig - Place of your binary. Default if found: */usr/bin/dig*
148 156 http(s)://your.virtualhost.here/path
149 157  
150 158 Global admin username: **admin**
151 159 -Initial password: **SMBind-ng2016**
  160 +Initial password: **SMBind-ng2016**
152 161 \ No newline at end of file
... ...
README.md
... ... @@ -32,4 +32,7 @@ This fork has many improvements, security changes and new features
32 32  
33 33 ## Attention
34 34 The main repository there is in [my own](https://git.myonline.hu/pty/smbind-ng)
35   -site. Please use that mainly.
36 35 \ No newline at end of file
  36 +site. Please use that mainly.
  37 +
  38 +## Installation
  39 +See [INSTALL.md](INSTALL.md)
37 40 \ No newline at end of file
... ...
mysql.sql
... ... @@ -29,7 +29,7 @@ CREATE TABLE `dnssec_keys` (
29 29 KEY `arch` (`archive`),
30 30 KEY `filen` (`filename`),
31 31 CONSTRAINT `fkdskeys` FOREIGN KEY (`dszone`) REFERENCES `dnssec_zones` (`id`) ON DELETE CASCADE
32   -) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  32 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
33 33 /*!40101 SET character_set_client = @saved_cs_client */;
34 34  
35 35 --
... ... @@ -56,7 +56,7 @@ CREATE TABLE `dnssec_zones` (
56 56 UNIQUE KEY `id` (`id`),
57 57 KEY `dsnam` (`zone`),
58 58 CONSTRAINT `fkdszones` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE
59   -) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
  59 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
60 60 /*!40101 SET character_set_client = @saved_cs_client */;
61 61  
62 62 --
... ... @@ -114,7 +114,7 @@ CREATE TABLE `records` (
114 114 KEY `reczone` (`zone`),
115 115 KEY `rech` (`host`),
116 116 CONSTRAINT `fkrecords` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE
117   -) ENGINE=InnoDB AUTO_INCREMENT=765 DEFAULT CHARSET=utf8;
  117 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
118 118 /*!40101 SET character_set_client = @saved_cs_client */;
119 119  
120 120 --
... ... @@ -144,7 +144,7 @@ CREATE TABLE `slave_zones` (
144 144 UNIQUE KEY `sznam` (`name`),
145 145 KEY `szupd` (`updated`),
146 146 KEY `szow` (`owner`)
147   -) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
  147 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
148 148 /*!40101 SET character_set_client = @saved_cs_client */;
149 149  
150 150 --
... ... @@ -173,7 +173,7 @@ CREATE TABLE `users` (
173 173 UNIQUE KEY `usnam` (`username`),
174 174 KEY `uspass` (`password`),
175 175 KEY `admin` (`admin`)
176   -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  176 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
177 177 /*!40101 SET character_set_client = @saved_cs_client */;
178 178  
179 179 --
... ... @@ -212,7 +212,7 @@ CREATE TABLE `zones` (
212 212 KEY `zonval` (`valid`),
213 213 KEY `zonow` (`owner`),
214 214 KEY `zonupd` (`updated`)
215   -) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8;
  215 +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
216 216 /*!40101 SET character_set_client = @saved_cs_client */;
217 217  
218 218 --
... ...