DNS packet library?

Hello! I’m looking at making DNS queries with the NB-IoT shield. The Ublox module does not support it natively, so the packet has to be crafted in the Arduino code. I managed to get a small working implementation for a single hard-coded ANAME lookup by looking at the DNS code in the Ethernet2 library but was wondering if there are any other libraries that does this already? I tried looking around but did not find anything that seems suitable…

Thanks in advance,