Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.protocols.dns.bind > #15771

Bind, rpz and TXT/MX records

From Emanuele Santoro <manu@santoro.tk>
Newsgroups comp.protocols.dns.bind
Subject Bind, rpz and TXT/MX records
Date 2020-05-23 13:34 +0200
Message-ID <mailman.430.1590233671.942.bind-users@lists.isc.org> (permalink)
References <d890db20-2884-5986-0a54-6ca2f2449d43@santoro.tk>

Show all headers | View raw


Hello there!

I'm trying to use rpz functionalities from bind to overlay some local
dns entries onto a public dns zone.

The problem is that while this works okay for regular records
(A/AAAA/CNAME) this blocks other record type requests (mainly TXT/MX).
I say "blocks" as in "it has no local data for such kind of records and
thus will respond with NODATA/NXDOMAIN".

Has anyone faced this problem before ? Any hints or suggestions ?


Thanks in advance,
Emanuele Santoro



p.s: I have read the rpz spec and the bind documentation, plus various
webpages here and there. There are many policy triggers (RPZ-CLIENT-IP,
QNAME, RPZ-IP, RPZ-NSIP) to differentiate the requests in order to have
different behaviors in different situation.

Something like a QTYPE policy trigger (query type, as in MX or TXT or A
or other) would be ideal, so that it would be possible to write
something like:

    ; let txt queries pass through
    txt.example.com.rpz-qtype        CNAME    rpz-passthru.

    ; block mx queries
    mx.example.com.rpz-qtype        CNAME    *.

Also: the dns-rpz spec at
https://tools.ietf.org/id/draft-vixie-dnsop-dns-rpz-00.html#overrides
specifies a specific action override:
LOCAL-DATA-OR-PASSTHRU. I haven't found any reference about this in the
bind documentation. Did I miss something ?

Back to comp.protocols.dns.bind | Previous | Next | Find similar


Thread

Bind, rpz and TXT/MX records Emanuele Santoro <manu@santoro.tk> - 2020-05-23 13:34 +0200

csiph-web