Afreiberger Designate Bind

  • By Drew Freiberger
  • Cloud
juju deploy afreiberger-designate-bind
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Runs on
latest/stable 0 0 18 Mar 2021
Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04


14.04 16.04 18.04 18.10


BIND9 backend for Designate Read more

Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion


This charm provides a bind server to store DNS records generated by designate.


designate-bind relies on designate charm.

juju deploy designate-bind
juju deploy designate
juju add-relation designate designate-bind

Recursion and forwarders

By default, this charm only resolves names in zones managed by Designate. You can optionally enable recursion or forwarders to resolve names outside of Designate, such as or

Recursion and forwarders should be enabled with extra care. You should also enable ACLs with allowed_nets and/or allowed_recursion_nets. Otherwise, the DNS server may be open for anyone which could be used for some attacks as an open resolver.

For example, when you want to allow DNS clients in local networks only, and use and as upstream DNS servers, You can set charm options like:

juju config designate-bind allowed_nets=';;'
juju config designate-bind forwarders=';'

Or if you want to use BIND9 set up by the charm as a full-service resolver, set the following options for example:

juju config designate-bind allowed_nets=';;'
juju config designate-bind recursion=true

Network Space support

This charm supports the use of Juju Network Spaces, allowing the charm to be bound to network space configurations managed directly by Juju. This is only supported with Juju 2.0 and above.

A network space to be used for communication with Designate can be specified by "dns-backend" binding.

Extra binding can be specified with "dns-frontend" binding for an additional network space to bind DNS server for clients outside of the Juju model.

To use this feature, use the --bind option when deploying the charm:

juju deploy designate-bind --bind "default-space dns-frontend=public-space dns-backend=internal-space"

alternatively these can also be provided as part of a juju native bundle configuration:

  charm: cs:designate-bind
  num_units: 1
    '': default-space
    dns-frontend: public-space
    dns-backend: internal-space

NOTE: Spaces must be configured in the underlying provider prior to attempting to use them.


Please report bugs on Launchpad.

For general questions please refer to the OpenStack Charm Guide.