If you're having issues with resolving .loki addresses, you need to edit your resolv.conf files and add your DNS resolver.
Method 1
Install systemd-resolved
and let that manage dns.
Method 2
Install resolvconf
and let that manage dns.
Then restart lokinet.service
with systemd.
If resolvconf by itself doesn't work, you'll need to add the Lokinet nameserver manually to resolvconf.
Add the following line at the bottom of this file:
Once that line is added, hold Ctrl and type X, then type Enter to confirm the file changes.
Next we need to update our /etc/resolv.conf file by running the command:
Then restart lokinet.service
with systemd.
As of 0.9.11
there is an issue where sometimes lokinet will get into a bad state and refuse to connect to the network.
This case is not related network censors blocking lokinet, it's a bug. see https://github.com/oxen-io/lokinet/issues/2116
If this happens, makes ure you back up any persisting private keys for .loki and....
stop the lokinet service
remove /var/lib/lokinet/profiles.dat
start the lokinet service
This will remove the client's inferred network state that it slowly generates over time, thus will start retrying nodes it thought were dead before.