ERROR: client: Failed to look up SRV record "_mongodb._tcp.cluster0.acawkvf.mongodb.net": The specified host is unknown. The parameter: client, in function mongoc_client_set_server_api, cannot be NULL

Yes I do have an instance running.
I did systemctl start mongod.
systemctl status mongod gives:

● mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2023-03-15 15:45:24 PKT; 5min ago
       Docs: https://docs.mongodb.org/manual
   Main PID: 10439 (mongod)
     Memory: 229.7M
        CPU: 3.986s
     CGroup: /system.slice/mongod.service
             └─10439 /usr/bin/mongod --config /etc/mongod.conf

Mar 15 15:45:24 computer1 systemd[1]: Started MongoDB Database Server.