Skip to content

kompetenzbolzen/octodns-custom-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octodns-custom-providers

Custom 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.

soa.serial can be used with env/ keyword to use environment variable as Serialnumber

Example

providers:
  zonefile:
    class: octodns-custom-providers.provider.zonefile.ZoneFileProvider
    directory: zonefiles
    soa:
      mname: ns.example.com
      rname: dns.example.com
      serial: 123456
      refresh: 7200
      retry: 3600
      expire: 1209600
      minimum: 3600

octodns-custom-providers.source.phpipam.PhpipamSource

This source allows to use PHPipam as a source for IP address mappings. Reverse-Mappings are created, when used to create a in-addr.arpa zone or forced with reverse: True

Requires: 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages