Re: [Pdns-users] Why the rectify-zone? increase-serial?

2018-02-06 Thread Steve Atkins

> On Feb 6, 2018, at 12:29 AM, Sander Smeenk via Pdns-users 
>  wrote:
> 
> Quoting Sander Smeenk via Pdns-users (pdns-users@mailman.powerdns.com):
> 
>> Could this not be handled by some logic that compares the serial
>> to the last-rectified serial and rectifies it on the fly when needed?
>> This might not work for super huge zones perhaps, performance wise,
>> but i dont think i would notice anything in my workload. ;-)
> 
> Heh. According to da interweps, this was 'discussed' on list earlier.
> http://powerdns.13854.n7.nabble.com/How-do-you-rectify-zones-tt8633.html#none
> But that thread just boils down to "Yea, you got to rectify-zone yourself." ;)


There is an API call to rectify a zone, so any automation / web front end
could do that as it's final operation when updating a zone, making it
transparent to the user.

On a related note, does anyone know of a good way to check whether a
zone is valid, or not? It's something I'd like to monitor, but I'm not sure
how best to do that. 

Cheers,
  Steve
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Why the rectify-zone? increase-serial?

2018-02-06 Thread Sander Smeenk via Pdns-users
Quoting Sander Smeenk via Pdns-users (pdns-users@mailman.powerdns.com):

> Could this not be handled by some logic that compares the serial
> to the last-rectified serial and rectifies it on the fly when needed?
> This might not work for super huge zones perhaps, performance wise,
> but i dont think i would notice anything in my workload. ;-)

Heh. According to da interweps, this was 'discussed' on list earlier.
http://powerdns.13854.n7.nabble.com/How-do-you-rectify-zones-tt8633.html#none
But that thread just boils down to "Yea, you got to rectify-zone yourself." ;)

Rgds,
Sndr.
-- 
| Junk is something you've kept for years and throw away three weeks
| before you need it.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Why the rectify-zone? increase-serial?

2018-02-06 Thread Sander Smeenk via Pdns-users
Hi,

Today one of my customers was complaining that his NODATA-proof is
failing after adding CAA-records to a signed domain.
I quickly rectified the zone, flushed the caches, all is well again.

This makes me think about the 'why' behind the rectify-zone command.

We've scripted triggers that rectify a zone after a customer changes
records, most probably that trigger failed in this case, but why
actually do we have to do this manually? Are there any situations
where we do NOT want to rectify-zone after a change? ;-)

Could this not be handled by some logic that compares the serial
to the last-rectified serial and rectifies it on the fly when needed?
This might not work for super huge zones perhaps, performance wise,
but i dont think i would notice anything in my workload. ;-)

| "Volgens Marco Davids, Technisch Adviseur bij SIDN, is het vergeten
| van de rectify-zone-opdracht een van de meest voorkomende fouten
| van dit moment."

Regards,
-Sander.
-- 
| Spend some time trying hard not to think about giraffes.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users