Skip to main content
Topic: OpenRC CLI for $ sudo systemctl restart systemd-resolved.service (Read 317 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

OpenRC CLI for $ sudo systemctl restart systemd-resolved.service

What is In OpenRC, the equivalent command for restarting the DNS resolver service would typically involve using the rc-service command, thought that'd be easy by dns... keyword but can't find:

Code: [Select]
$ sudo rc-service -l
acpid
agetty
agetty.tty1
agetty.tty2
agetty.tty3
agetty.tty4
agetty.tty5
agetty.tty6
alsasound
avahi-daemon
avahi-dnsconfd
binfmt
bluetoothd
bootmisc
cgroups
connmand
consolefont
cronie
cupsd
dbus
devfs
device-mapper
dhcpcd
dmcrypt
dmesg
dmeventd
elogind
esysusers
etmpfiles-dev
etmpfiles-setup
fsck
haveged
hostname
hwclock
keymaps
killprocs
kmod-static-nodes
lightdm
local
localmount
loopback
lvm
lvm-monitoring
lvmpolld
mdadm
mdraid
modules
mount-ro
mtab
net-online
net.lo
netmount
nfs
nfsclient
ntp-client
ntpd
numlock
openrc-settingsd
osclock
procfs
root
rpc.gssd
rpc.idmapd
rpc.pipefs
rpc.statd
rpc.svcgssd
rpcbind
rsyncd
runsvdir
s6-svscan
save-keymaps
save-termencoding
savecache
seedrng
sntp
sshd
swap
swclock
sysctl
sysfs
syslog-ng
termencoding
tor
transmission
udev
udev-settle
udev-trigger
wpa_supplicant
Please help to do here, as in systemd it's so common

 

Re: OpenRC CLI for $ sudo systemctl restart systemd-resolved.service

Reply #1
I think there's no dedicated "dns resolver" in your case. You need to restart your network connection, I presume it's connman here. Maybe connman can do it itself with some command, check its manual.