added some helper functions for dns packet parsing. added function to parse local .service files