Fix DNAME when QTYPE is CNAME or ANY

The synthesised CNAME is not supposed to be followed when the
QTYPE is CNAME or ANY as the lookup is satisfied by the CNAME
record.
This commit is contained in:
Mark Andrews
2020-11-17 11:03:21 +11:00
parent ff2bc7891e
commit e980affba0
5 changed files with 68 additions and 6 deletions

View File

@@ -20,3 +20,4 @@ ns A 10.53.0.1
www CNAME server.example.net.
inzone CNAME a.example.com.
a A 10.53.0.1
dname DNAME @