Skip to content

Commit

Permalink
modified: Readme.md add licence MIT
Browse files Browse the repository at this point in the history
	modified:   bindZoneMaker.py add licence MIT
	modified:   zone.j2 add licence MIT
  • Loading branch information
shahwahed committed Jan 6, 2019
1 parent 239a819 commit 9a3651f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
26 changes: 25 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,28 @@ example), use redirection as in this example:

```
bindZoneMaker.py -z dns_example.json > db.mydomain.com
```
```


# License
MIT License

Copyright (c) 2019 WAHED Shah Mohsin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions bindZoneMaker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/python3
# -*- coding: utf-8 -*-
#
#Copyright (c) 2019 WAHED Shah Mohsin
#This code is under MIT licence, you can find the complete file here: https://github.com/shahwahed/BindZoneMaker/blob/master/LICENSE

import yaml
import json
Expand Down
8 changes: 6 additions & 2 deletions zone.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{#
Copyright (c) 2019 WAHED Shah Mohsin
This code is under MIT licence, you can find the complete file here: https://github.com/shahwahed/BindZoneMaker/blob/master/LICENSE
This jinja2 template generate proper bind zone file
-#}
; Zone: {{ origin }}
; Exported (yyyy-mm-ddThh:mm:ss.sssZ): {{ now }}
$ORIGIN {{ origin }}
Expand Down Expand Up @@ -66,5 +71,4 @@ $TTL {{ ttl }}
{{ entry['name'] }} IN SRV {{ entry['priority'] }} {{ entry['weight'] }} {{ entry['port'] }} {{ entry['target'] }}
{% endfor %}
{%- endif %}
; End of Zone

; End of Zone

0 comments on commit 9a3651f

Please sign in to comment.