Overriding TTL per resource-record on slave

2016-07-25 Thread blrmaani
We slave a zone and would like to override default TTL for bunch of resource-records. What is the right way to do it? For example, here are few records for which we have to customize TTLs: host1.zone1.com.: default_ttl = 300 preferred_ttl = 3600 host2.zone1.com: default_ttl = 300 pref

Re: Overriding TTL per resource-record on slave

2016-07-25 Thread Matus UHLAR - fantomas
On 25.07.16 22:44, blrmaani wrote: We slave a zone and would like to override default TTL for bunch of resource-records. What is the right way to do it? there's no "default TTL" on recourse records, there's only TTL on resource records, and the "default TTL" on master server, that uses it for

Re: Overriding TTL per resource-record on slave

2016-07-26 Thread blrmaani
Sorry for not being clear. Our DNS server scrapes entries from a database and creates a DNS zone entries. Our DNS server is configured as a DNS master i.e type=master in BIND config for this zone. The database is the source of truth for DNS hosts which are in multiple locations and we do not wa

Re: Overriding TTL per resource-record on slave

2016-07-26 Thread Matus UHLAR - fantomas
On 26.07.16 00:27, blrmaani wrote: Sorry for not being clear. Our DNS server scrapes entries from a database and creates a DNS zone entries. Our DNS server is configured as a DNS master i.e type=master in BIND config for this zone. The database is the source of truth for DNS hosts which are in