add the dns parser sample code