no way to override default_soa_* per zone

Bug #1784271 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
New
Undecided
Unassigned

Bug Description

designate.conf allows to change default_soa_* values globally. However, as far as I checked in the doc, there is no way to override the global default per zone. Would be nice to have a way to apply pre-zone SOA options.

https://developer.openstack.org/api-ref/dns/#create-zone

====
# SOA refresh-min value (integer value)
# Deprecated group/name - [DEFAULT]/default_soa_refresh
#default_soa_refresh_min = 3500

# SOA max value (integer value)
#default_soa_refresh_max = 3600

# SOA retry (integer value)
#default_soa_retry = 600

# SOA expire (integer value)
#default_soa_expire = 86400

# SOA minimum value (integer value)
#default_soa_minimum = 3600
====

Revision history for this message
Dmitry Galkin (galkindmitrii) wrote :

Hi,

If you maintain your own code of Designate, you could possibly do something similar to what we did here: https://github.com/sapcc/designate/commit/3e394da18172dbb9f44f5026724af24f6f95fa37

And here is a change to python-designateclient to make it possible to apply desired values via cli: https://github.com/sapcc/python-designateclient/commit/61d97ff20e5149ec573b47fc6f8340c424f98577

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.