Skip to content

PowerDNS Authoritative Server - CATALOG-HASH is recalculated every minute #13856

Answered by marekj11
velechac asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

we checked the query info-all-master/primary-query.
By default, PostgreSQL returns data in an unspecified order.
The query outputs need to be sorted for the hash algorithm for an unchanged hash if the domains data has not changed.

PostgreSQL queries order docs

If sorting is not chosen, the rows will be returned in an unspecified order. The actual order in that case will depend on the scan and join plan types and the order on disk, but it must not be relied on. 

Fixed query:

info-all-master/primary-query: select domains.id, domains.name, domains.type, domains.notified_serial, domains.options, domains.catalog, records.content from records join domains on records.domain_id=domains.id…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Habbie
Comment options

Answer selected by velechac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants