opkg install umdsns Installing umdns (2020-10-26-59e4fc98-4) to root... Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/base/umdns_2020-10-26-59e4fc98-4_powerpc_8540.ipk Configuring umdns. root@OpenWrt:/# dmlogread | tail Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain invalid Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain bind Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain lan Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: using nameserver 192.168.0.2#53 Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses Wed Jan 6 17:58:55 2021 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses Wed Jan 6 18:02:39 2021 authpriv.info dropbear[4149]: Exit (root) from <192.168.0.222:58188>: Disconnect received Wed Jan 6 18:02:55 2021 authpriv.info dropbear[4748]: Child connection from 192.168.0.222:58208 Wed Jan 6 18:02:58 2021 authpriv.notice dropbear[4748]: Password auth succeeded for 'root' from 192.168.0.222:58208 Wed Jan 6 18:02:58 2021 authpriv.info dropbear[4748]: Exit (root) from <192.168.0.222:58208>: Disconnect received root@OpenWrt:/# /etc/init.d/configgdropbhcpnsmasq restart root@OpenWrt:/# nslookup vermont.gov ^C root@OpenWrt:/# ps au| grep ujail 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/cap 4872 root 2704 S {umdns} /sbin/ujail -n umdns -S /etc/seccomp/umdns.j 5035 root 2704 S {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 5062 root 1376 S grep ujail root@OpenWrt:/# # That looks right for ... hmI think root@OpenWrt:/# nslookupv vermont.gov localhost Server: localhost Address: ::1#53 Name: vermont.gov Address 1: 206.16.212.90 *** Can't find vermont.gov: No answer root@OpenWrt:/# # looks good root@OpenWrt:/# root@OpenWrt:/# # looks good root@OpenWrt:/# nslookup vermont.gov localhosthvermont.gov localhostovermont.gov localhostmvermont.gov localhostevermont.gov localhost.vermont.gov localhostlvermont.gov localhostavermont.gov localhostbvermont.gov localhostovermont.gov localhostrvermont.gov localhostavermont.gov localhosttvermont.gov localhostovermont.gov localhostrvermont.gov localhostyvermont.gov localhostbvermont.gov localhost.vermont.gov localhostovermont.gov localhostrvermont.gov localhostgvermont.gov localhostermont.gov localhostrmont.gov localhostmont.gov localhostont.gov localhostnt.gov localhostt.gov localhost.gov localhostgov localhostov localhostv localhost localhost localhost Server: localhost Address: ::1#53 Name: home.laboratoryb.org Address 1: 204.13.45.156 *** Can't find home.laboratoryb.org: No answer root@OpenWrt:/# root@OpenWrt:/# nslookup home.laboratoryb.org localhost/nslookup home.laboratoryb.org localhost/etc/service  dh^C root@OpenWrt:/# echo 40 40 root@OpenWrt:/# root@OpenWrt:/# echo 40$0 /bin/ash root@OpenWrt:/# service dnsmasq stop root@OpenWrt:/# root@OpenWrt:/# service dnsmasq stop root@OpenWrt:/# echo $0 root@OpenWrt:/# echo 40 root@OpenWrt:/# nslookup home.laboratoryb.org localhost ^C root@OpenWrt:/# $ # fails root@OpenWrt:/# star root@OpenWrt:/# # fails root@OpenWrt:/# nslookup home.laboratoryb.org localhost root@OpenWrt:/# service dnsmasq stopsstoptstopastoprstoptstoptopopp root@OpenWrt:/# root@OpenWrt:/# service dnsmasq start root@OpenWrt:/# # fails root@OpenWrt:/# nslookup home.laboratoryb.org localhost root@OpenWrt:/# # fails root@OpenWrt:/# nslookup home.laboratoryb.org localhost root@OpenWrt:/# service dnsmasq stop root@OpenWrt:/# nslookup home.laboratoryb.org localhost root@OpenWrt:/# # fails root@OpenWrt:/# root@OpenWrt:/# # fails root@OpenWrt:/# service dnsmasq start root@OpenWrt:/# # fails root@OpenWrt:/# service dnsmasq start root@OpenWrt:/# # failssfailsofailsrfailsrfailsyfails,fails failswfailsofailsrfailskfailssfails.fails failsailsilslss . ... root@OpenWrt:/# root@OpenWrt:/# # sorry, works ... root@OpenWrt:/# # fails root@OpenWrt:/# service dnsmasq start root@OpenWrt:/# # fails root@OpenWrt:/# nslookup home.laboratoryb.org localhost Server: localhost Address: ::1#53 Name: home.laboratoryb.org Address 1: 204.13.45.156 *** Can't find home.laboratoryb.org: No answer root@OpenWrt:/# 3# yeah. root@OpenWrt:/# root@OpenWrt:/# # yeah. root@OpenWrt:/# logread | tail Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain test Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain onion Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain localhost Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain local Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain invalid Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain bind Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using only locally-known addresses for domain lan Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: using nameserver 192.168.0.2#53 Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses Wed Jan 6 18:07:51 2021 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses root@OpenWrt:/# root@OpenWrt:/# logread | taildate^C root@OpenWrt:/# date Wed Jan 6 18:09:37 UTC 2021 root@OpenWrt:/# date Wed Jan 6 18:09:39 UTC 2021 root@OpenWrt:/# date Wed Jan 6 18:09:48 UTC 2021 root@OpenWrt:/# # hhmm root@OpenWrt:/# logread^C root@OpenWrt:/# cwhchps | grep ntp 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/cap 3746 ntp 1376 S /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0. 5249 root 1376 S grep ntp root@OpenWrt:/# ps cat /proc/3746/status Name: ntpd Umask: 0022 State: S (sleeping) Tgid: 3746 Ngid: 0 Pid: 3746 PPid: 3726 TracerPid: 0 Uid: 123 123 123 123 Gid: 123 123 123 123 FDSize: 32 Groups: 123 123 NStgid: 3746 NSpid: 3746 NSpgid: 1 NSsid: 1 VmPeak: 1376 kB VmSize: 1376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 984 kB VmRSS: 984 kB RssAnon: 44 kB RssFile: 940 kB RssShmem: 0 kB VmData: 28 kB VmStk: 132 kB VmExe: 452 kB VmLib: 756 kB VmPTE: 20 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000011000 SigCgt: 0000000000006002 CapInh: 0000000002000400 CapPrm: 0000000002000400 CapEff: 0000000002000400 CapBnd: 0000000002000400 CapAmb: 0000000002000400 NoNewPrivs: 1 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 147 nonvoluntary_ctxt_switches: 8 root@OpenWrt:/# root@OpenWrt:/# cat /proc/3746/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# # hmm root@OpenWrt:/# ps | grep ntp 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/cap 3746 ntp 1376 S /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0. 5252 root 1376 S grep ntp root@OpenWrt:/# root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/3746/status46/status/status/status/status1/status/status Name: procd Umask: 0022 State: S (sleeping) Tgid: 1 Ngid: 0 Pid: 1 PPid: 0 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 32 Groups: NStgid: 1 NSpid: 1 NSpgid: 1 NSsid: 1 VmPeak: 1960 kB VmSize: 1960 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 1220 kB VmRSS: 1220 kB RssAnon: 144 kB RssFile: 1076 kB RssShmem: 0 kB VmData: 276 kB VmStk: 132 kB VmExe: 84 kB VmLib: 1440 kB VmPTE: 24 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000001000 SigCgt: 0000000020014e43 CapInh: 0000000000000000 CapPrm: 0000003fffffffff CapEff: 0000003fffffffff CapBnd: 0000003fffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 1335 nonvoluntary_ctxt_switches: 83 root@OpenWrt:/# root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# ps | grep ntp 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/cap 3746 ntp 1376 S /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0. 5259 root 1376 S grep ntp root@OpenWrt:/# root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/3746/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/3746/status/status/status2/status6/status/status Name: ntpd Umask: 0022 State: S (sleeping) Tgid: 3726 Ngid: 0 Pid: 3726 PPid: 1 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 32 Groups: NStgid: 3726 NSpid: 3726 NSpgid: 1 NSsid: 1 VmPeak: 2704 kB VmSize: 2704 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 1056 kB VmRSS: 1056 kB RssAnon: 96 kB RssFile: 960 kB RssShmem: 0 kB VmData: 1148 kB VmStk: 132 kB VmExe: 80 kB VmLib: 1316 kB VmPTE: 24 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000001000 SigCgt: fffffffc7ffbeaff CapInh: 0000000000000000 CapPrm: 0000003fffffffff CapEff: 0000003fffffffff CapBnd: 0000003fffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 2 nonvoluntary_ctxt_switches: 4 root@OpenWrt:/# root@OpenWrt:/# cat /proc/3726/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/3746/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/3746/status Name: ntpd Umask: 0022 State: S (sleeping) Tgid: 3746 Ngid: 0 Pid: 3746 PPid: 3726 TracerPid: 0 Uid: 123 123 123 123 Gid: 123 123 123 123 FDSize: 32 Groups: 123 123 NStgid: 3746 NSpid: 3746 NSpgid: 1 NSsid: 1 VmPeak: 1376 kB VmSize: 1376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 984 kB VmRSS: 984 kB RssAnon: 44 kB RssFile: 940 kB RssShmem: 0 kB VmData: 28 kB VmStk: 132 kB VmExe: 452 kB VmLib: 756 kB VmPTE: 20 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000011000 SigCgt: 0000000000006002 CapInh: 0000000002000400 CapPrm: 0000000002000400 CapEff: 0000000002000400 CapBnd: 0000000002000400 CapAmb: 0000000002000400 NoNewPrivs: 1 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 151 nonvoluntary_ctxt_switches: 8 root@OpenWrt:/# n root@OpenWrt:/# cat /proc/3746/status root@OpenWrt:/# cat /proc/3726/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# ps | grep ntp root@OpenWrt:/# cat /proc/1/status Name: procd Umask: 0022 State: S (sleeping) Tgid: 1 Ngid: 0 Pid: 1 PPid: 0 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 32 Groups: NStgid: 1 NSpid: 1 NSpgid: 1 NSsid: 1 VmPeak: 1960 kB VmSize: 1960 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 1220 kB VmRSS: 1220 kB RssAnon: 144 kB RssFile: 1076 kB RssShmem: 0 kB VmData: 276 kB VmStk: 132 kB VmExe: 84 kB VmLib: 1440 kB VmPTE: 24 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000001000 SigCgt: 0000000020014e43 CapInh: 0000000000000000 CapPrm: 0000003fffffffff CapEff: 0000003fffffffff CapBnd: 0000003fffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 1353 nonvoluntary_ctxt_switches: 83 root@OpenWrt:/# root@OpenWrt:/# cat /proc/1/status root@OpenWrt:/# cat /proc/3746/status Name: ntpd Umask: 0022 State: S (sleeping) Tgid: 3746 Ngid: 0 Pid: 3746 PPid: 3726 TracerPid: 0 Uid: 123 123 123 123 Gid: 123 123 123 123 FDSize: 32 Groups: 123 123 NStgid: 3746 NSpid: 3746 NSpgid: 1 NSsid: 1 VmPeak: 1376 kB VmSize: 1376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 984 kB VmRSS: 984 kB RssAnon: 44 kB RssFile: 940 kB RssShmem: 0 kB VmData: 28 kB VmStk: 132 kB VmExe: 452 kB VmLib: 756 kB VmPTE: 20 kB VmSwap: 0 kB CoreDumping: 0 THP_enabled: 0 Threads: 1 SigQ: 0/1962 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000011000 SigCgt: 0000000000006002 CapInh: 0000000002000400 CapPrm: 0000000002000400 CapEff: 0000000002000400 CapBnd: 0000000002000400 CapAmb: 0000000002000400 NoNewPrivs: 1 Seccomp: 0 Speculation_Store_Bypass: unknown Cpus_allowed: 3 Cpus_allowed_list: 0-1 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 155 nonvoluntary_ctxt_switches: 8 root@OpenWrt:/#