I am able to get a working data connection by using the following command in the terminal:
sudo ofonoctl wan --connect --append-dns
I will have to find a proper way to automate this so I don’t have to do it manually every time my connection drops.