Added two functions to pico_dns_common