parse dns resource records