tests-extra: fix query for a CNAME below NS

This commit is contained in:
Jan Vcelak 2015-07-09 15:15:54 +02:00
parent 2c4ebdffe1
commit e44e6b499e
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,9 @@ cname CNAME dns1
; CNAME to delegation
cname-ns CNAME sub
; CNAME to a name below delegation
cname-below-ns CNAME below.sub
; CNAME to out
cname-out CNAME another.world.

View file

@ -98,7 +98,7 @@ resp = knot.dig("cname-ns.flags", "NS", udp=True)
resp.cmp(bind, additional=True)
# CNAME leading below delegation
resp = knot.dig("a.cname-ns.flags", "A", udp=True)
resp = knot.dig("cname-below-ns.flags", "A", udp=True)
resp.cmp(bind, additional=True)
# CNAME leading out