Are you sure it isn’t available in GL repo? You should upgrade to v3.0 firmware, we use it for DNS over TLS.
Btw, you can find the ipk in http://download.gl-inet.com/releases/packages-3.x/ipq40xx/gli_pub/