Skip to content

Autosecondary SOA and NS checks aren't recursive and can't go through powerdns recursor #15013

Answered by hlindqvist
nixargh asked this question in Q&A
Discussion options

You must be logged in to vote

That is my current config to make it clear how I solved the issue. Looks good to me but maybe you see some mistakes and I'd better to test and think once more:

setLocal('10.0.0.2:53')
setACL({'127.0.0.0/8', '10.0.0.0/8'})

newServer({address='127.0.0.3:53', pool='authoritative', useProxyProtocol=true})
newServer({address='127.0.0.2:53', pool='recursor'})

recursive_ips = newNMG()
recursive_ips:addMask('127.0.0.0/8')
recursive_ips:addMask('10.0.0.0/8')

auth_domains = newSuffixMatchNode()
auth_domains:add("sub.mydomain.in")

addAction(OrRule({QTypeRule(DNSQType.AXFR), QTypeRule(DNSQType.IXFR)}), PoolAction('authoritative'))
addAction(AndRule({SuffixMatchNodeRule(auth_domains), OrRule({QTy…

Replies: 4 comments 5 replies

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
0 replies
Comment options

You must be logged in to vote
5 replies
@Habbie
Comment options

@nixargh
Comment options

@hlindqvist
Comment options

Answer selected by nixargh
@nixargh
Comment options

@nixargh
Comment options

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
Converted from issue

This discussion was converted from issue #15001 on January 06, 2025 10:54.