Asked by George Kissandrakis

In another repository i see designate/network_api which is for managing PTR records and here i see 2-3 requests for PTR
Do you plan to include PTR support?

Thank you

Question information

English Edit question
Designate Edit question
Graham Hayes Edit question
Solved by:
Graham Hayes
Last query:
Last reply:
Revision history for this message
Graham Hayes (grahamhayes) said :

We already do support PTR records in designate.

Currently by default we disable the usage of PTR records, but this can be turned back on.

We did also block the .arpa TLD initially by default, but that has been replaced with an API, so by default you should be fine.

Revision history for this message
George Kissandrakis (gkissand) said :

Is there any configuration guide how to do this?

Revision history for this message
Best Graham Hayes (grahamhayes) said :

Not at the moment...

To create a PTR record, you would first create a domain (eg for the 10.0.0.x subnet)
you would then create a records with type PTR in this domain, named for the last octet of the IP (eg for IP

then you should have reverse DNS running on designate - you just need to point people at the designate managed DNS server.

Is that what you were looking for?

If you are on IRC, were are in #openstack-dns on there is generally a few people there throughout the day

Revision history for this message
George Kissandrakis (gkissand) said :

I will try irc too
I have configured designate with powerdns, it works fine
every time an instance is created, i get an A record like <instance-name>-<(%octet3)>-<(%octet4)>.domain
My config is this

domain_id = bd6c976e-e4e8-4ddc-adc9-066bc5f5f13d
notification_topics = notifications
control_exchange = 'nova'
format = '%(display_name)s-%(octet2)s-%(octet3)s.%(domain)s'

but i want to add also PTR record
Can i declare multiple domain_ids? how should designate know if it is A or PTR record?


Revision history for this message
Kiall Mac Innes (kiall) said :

Ah - You're using designate-sink and want the PTRs created.. So, the sink handlers that come out of the box are really intended to be little more than examples.. Everyone want's something different, so we chose to provide simple handlers that can be used as examples :)

There's an example plugin at [1] with the meat of it being in [2]. Customizing the behavior to suit your needs should be fairly simple (assuming you know python!).