diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-04-15 12:45:03 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-04-15 12:45:03 +0200 |
commit | b4e85d57c650a379347edbebc5574e999cc9e54c (patch) | |
tree | 86766bbb80eaf4030657acd376ce2c41b339fb8b | |
parent | 4a6c565dd85c5178bea0a32f91128adadd87c569 (diff) | |
download | octodns-custom-provider-b4e85d57c650a379347edbebc5574e999cc9e54c.tar.gz |
expand readme
-rw-r--r-- | README.md | 35 |
1 files changed, 33 insertions, 2 deletions
@@ -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 +``` |