aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-15 12:45:03 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-15 12:45:03 +0200
commitb4e85d57c650a379347edbebc5574e999cc9e54c (patch)
tree86766bbb80eaf4030657acd376ce2c41b339fb8b
parent4a6c565dd85c5178bea0a32f91128adadd87c569 (diff)
downloadoctodns-custom-provider-b4e85d57c650a379347edbebc5574e999cc9e54c.tar.gz
expand readme
-rw-r--r--README.md35
1 files changed, 33 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8755586..6c490f5 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,36 @@
# octodns-custom-providers
-* octodns-custom-providers.provider.zonefile.ZoneFileProvider
-* octodns-custom-providers.source.phpipam.PhpipamSource
+Custom [OctoDNS](https://github.com/octodns/octodns) Providers/Sources I wrote for myself
+
+## octodns-custom-providers.provider.zonefile.ZoneFileProvider
+
+OctoDNS only provides a ZoneFile source. This Provider can create a BIND compatible ZoneFile.
+It can NOT be used as a source. Use the builtin OctoDNS ZoneFile source instead.
+
+Example
+
+```
+providers:
+ zonefile:
+ class: octodns-custom-providers.provider.zonefile.ZoneFileProvider
+ directory: zonefiles
+```
+
+## octodns-custom-providers.source.phpipam.PhpipamSource
+
+This source allows to use [PHPipam](https://github.com/phpipam/phpipam) as a source for IP address mappings.
+
+Requires: [python-phpipam](https://github.com/kompetenzbolzen/python-phpipam)
+
+```
+roviders:
+ phpipam:
+ class: octodns-custom-providers.source.phpipam.PhpipamSource
+ url: 'https://phpipam.example.com/'
+ user: env/PHPIPAM_USER
+ token: env/PHPIPAM_TOKEN
+ appid: 'myapp'
+ cidrs:
+ - 10.1.0.0/16
+```