Cannot Resolve Host with libcurl

I’ve been diagnosing this problem the past few days, and I’ve found the source of the issue (albeit not a solution). For some reason, when I establish a data connection through my application, the routing table fails to populate correctly.

Here’s the routing table (via "route -n") when I connect to data via "cm data connect" in SSH:
routing_ssh

Meanwhile, here it is when I connect through my application:
routing_app

Notice how the entry for the gateway is completely missing. Interestingly enough, however, if I run cm data info on both instances, a gateway IP is provided.

Is this some sort of permissions issues? Or perhaps something wrong with my Legato installation? I’ve tried resetting the userspace and reinstalling the platform to no avail. Any insight would be greatly appreciated.