CleverCloud / stream-dns

A DNS server written in Go with an event stream architecture, updated via kafka
MIT License
29 stars 2 forks source link

Allow AXFR only if DNS_ALLOW_AXFR env is set a true #20

Closed NotBad4U closed 5 years ago

NotBad4U commented 5 years ago

Impact

A remote unauthenticated user may observe internal network structure, learning information useful for other directed attacks.

Solution

Allow by configuration a flag if stream-dns allow AXFR request. We should do this through an environment variable: DNS_ALLOW_AXFR. By default, stream-dns must reject all AXFR request.