- Code: Select all
[root@runeaudio ~]# groupdel dnsmasq
groupdel: group 'dnsmasq' does not exist
[root@runeaudio ~]# useradd dnsmasq
[root@runeaudio ~]# systemctl restart dnsmasq
[root@runeaudio ~]# systemctl status dnsmasq
● dnsmasq.service - A lightweight DHCP and caching DNS server
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2017-02-09 12:51:07 CET; 4s ago
Docs: man:dnsmasq(8)
Process: 1366 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 1370 (dnsmasq)
Tasks: 1 (limit: 512)
CGroup: /system.slice/dnsmasq.service
└─1370 /usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
Feb 09 12:51:07 runeaudio systemd[1]: Starting A lightweight DHCP and caching DNS server...
Feb 09 12:51:07 runeaudio dnsmasq[1366]: dnsmasq: syntax check OK.
Feb 09 12:51:07 runeaudio dnsmasq[1370]: started, version 2.76 cachesize 150
Feb 09 12:51:07 runeaudio dnsmasq[1370]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lu
Feb 09 12:51:07 runeaudio dnsmasq[1370]: DBus support enabled: connected to system bus
Feb 09 12:51:07 runeaudio dnsmasq[1370]: reading /etc/resolv.conf
Feb 09 12:51:07 runeaudio dnsmasq[1370]: using nameserver 192.168.1.1#53
Feb 09 12:51:07 runeaudio dnsmasq[1370]: bad address at /etc/hosts line 3
Feb 09 12:51:07 runeaudio dnsmasq[1370]: read /etc/hosts - 2 addresses
Feb 09 12:51:07 runeaudio systemd[1]: Started A lightweight DHCP and caching DNS server.
It seems active now. Only [1370]: bad address at /etc/hosts line 3 messagge is red.
And also message: group 'dnsmasq' does not exist.