cloudfoundry / bosh-dns-release

BOSH DNS release
Apache License 2.0
18 stars 37 forks source link

Make SERVFAIL respond with SERVFAIL #86

Closed fearoffish closed 2 years ago

fearoffish commented 2 years ago

If an upstream nameserver responds with SERVFAIL, then bosh-dns should respond with SERVFAIL.

What does this solve? One of our customers was using a domain, which had/has a fault that returned SERVFAIL...however, currently bosh-dns switches all non network errors to be an NXDOMAIN error. This meant our customers application was receiving an incorrect DNS response. By adding this code we are able to pass the SERVFAIL back to the customer correctly.

linux-foundation-easycla[bot] commented 2 years ago

CLA Missing ID CLA Not Signed