gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.5k stars 552 forks source link

0.9.1 - debian-based linux (proxmox) - DNS not working, probably due to "Unit dbus-org.freedesktop.resolve1.service not found" #537

Closed RzNmKX closed 2 years ago

RzNmKX commented 2 years ago

root@prox-1u-new:/home/austin# curl -sfL https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/netclient-install.sh | VERSION=v0.9.1 KEY=tokenhere sh - checking dependencies... wireguard wireguard is installed wireguard-tools wireguard-tools is installed OS Version = Linux Netclient Version = v0.9.1 Binary = netclient Downloading netclient v0.9.1 2021-12-07 11:11:50 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/351486934/9bd03614-feda-4eb7-96a9-5f9dae1a35c0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211207%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211207T181149Z&X-Amz-Expires=300&X-Amz-Signature=e9bb778a79aa0812ce1561dd0d781a2e2e3bd7e1e6a1fec80182e67988d815a5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=351486934&response-content-disposition=attachment%3B%20filename%3Dnetclient&response-content-type=application%2Foctet-stream [15075089/15075089] -> "netclient" [1] 2021/12/07 11:11:50 [netclient] joining newnet at grpc.nm.example.net:443 2021/12/07 11:11:50 [netclient] node created on remote server...updating configs 2021/12/07 11:11:51 [netclient] retrieving peers 2021/12/07 11:11:51 [netclient] starting wireguard 2021/12/07 11:11:51 error running command: resolvectl domain nm-newnet ~newnet 2021/12/07 11:11:51 Failed to set domain configuration: Unit dbus-org.freedesktop.resolve1.service not found. 2021/12/07 11:11:51 WARNING: Error encountered setting domain on dns. Aborted setting dns. 2021/12/07 11:11:52 [netclient] joined newnet

afeiszli commented 2 years ago

resolvectl is currently a hard requirement for automatically managing DNS. You can still manually add the nameserver to DNS on the machine, but in order to configure it automatically, it must be installed.

afeiszli commented 2 years ago

Closing. We will track the enhancement in #540