fixes #7352 - missing DNS record returns 404