Posted: Mon Oct 02, 2023 21:12 Post subject: [dnsmasq] : maybe died, we need to re-exec it issue
I have a asus ac5300 with the latest ddwrt firmware and i constantly get "[dnsmasq] : maybe died, we need to re-exec it" this happens serveral times daily which is super annyoing because it causes internet to drop out until dnsmasq starts up again after crashing. Obviously disabling it is a quick fix but are there any work arounds/settings to keep it enabled? Not sure if its related specifically to this router or what. These are my current settings
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Tue Oct 03, 2023 11:21 Post subject:
there must be something wrong with your config...
why do you need cache min time to live 3600..?
-do you have any other DNS servers specified...may be in those x3 boxes..on the basic setup page..
-any other settings...ignore WAN dns may be..
-SFE enabled ?
-wrong DHCP names that contain intervals or not allowed charters
more details..provided.. picture gets better and better...
if something goes too far and DNSmasq crashes it could be a due to an external factor or misconfiguration...mine on all my routers is rock solid...and more people will share the same ...i guess
all servers will query all of the servers at the same time and will come with the fastest answer...but, those with filtering capabilities with hang the filtered answers and the one without restriction will provide the answer, even if its should be filtered...so not a good idea to use servers with filters and like 8.8.8.8 without...
personally i use 9.9.9.9, as none of your servers above meets my needs... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Even with default settings of 0.0.0.0 for dns servers on the basic setup page and with out any extra commands in the services tab it still cause dnsmasq to crash. Currently i have the same dns servers setup in the basic info section as i do under the services tab. I just added those commands recently as a way to try and remedy the problem. Believe it or not they have helped a tiny bit but not enough to call it fixed. At first i thought it was a hardware problem so i flashed the router back to stock and after that was working great so then i flashed to freshtomato which also uses dnsmasq, ran that for 2 weeks with out any dnsmasq issues that had no issues. i was able to then flash back to ddwrt and identify the dnsmasq issue.I will be home later today and post addition pics of my configuration but i know for sure that i use CTF instesd of sfe
Joined: 18 Mar 2014 Posts: 12923 Location: Netherlands
Posted: Tue Oct 03, 2023 13:39 Post subject:
You can remove min-cache-ttl as it already defaults to one hour
I would also remove cache-size=1000, it is rather a lot (default is 150) and can impact performance
Output of syslog will tell us why it's dying. Redundant entries will confuse dnsmasq. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
i adjusted the settings to account for logging dnsmasq and also am posting my basic setup page.
Oct 3 18:26:44 DD-WRT daemon.info process_monitor[9245]: Local timer delta is 1
Oct 3 19:08:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 3 19:08:01 DD-WRT user.info : [dnsmasq] : successfully started
Oct 3 19:12:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 3 19:12:00 DD-WRT user.info : [dnsmasq] : successfully started
Oct 3 19:22:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 3 19:22:01 DD-WRT user.info : [dnsmasq] : successfully started
Oct 3 19:26:44 DD-WRT daemon.debug ntpclient[18303]: Connecting to pool.ntp.org [5.161.186.39] ...
Oct 3 19:26:44 DD-WRT daemon.info ntpclient[18303]: Time set from pool.ntp.org [5.161.186.39].
Oct 3 19:26:44 DD-WRT daemon.info process_monitor[9245]: Cyclic NTP Update success (servers pool.ntp.org)
Oct 3 19:26:44 DD-WRT daemon.info process_monitor[9245]: Local timer delta is 0
Oct 3 19:37:40 DD-WRT daemon.info httpd[8975]: [httpd] : Authentication fail
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Fri Oct 06, 2023 7:11 Post subject:
looking at your picture..
-enable ignore WAN DNS
-unless you need it disable SFE (shortcut forwarding engine)
-disable Forced DNS redirection DOT
-in NTP time section remove pool.ntp.org as this field is meant to use IP's instead..
Google NTP time server is 216.239.35.4 ass this IP if so...
For DNS and some other router services, resolving NTP time is vital...if you add an IP, it will be faster and wont be dependent on DNS resolving...so, egg comes first...than the chicken...
_________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Last edited by Alozaros on Fri Oct 06, 2023 14:00; edited 2 times in total
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 reply 2.pool.ntp.org is 130.61.44.4
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 reply 2.pool.ntp.org is 94.16.122.152
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 reply 2.pool.ntp.org is 167.235.201.139
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 reply 2.pool.ntp.org is 78.47.214.141
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 reply 2.pool.ntp.org is 2a01:4f8:1c17:570d::1
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 reply 2.pool.ntp.org is 2001:638:504:2000::37
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 reply 2.pool.ntp.org is 2a03:4000:8:f6::123
Oct 5 15:01:21 dnsmasq[13138]: 92 192.168.1.4/42765 reply 2.pool.ntp.org is 2a05:d014:fc5:9a00:38e:25ed:3c41:88ec
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 reply 2.pool.ntp.org is 142.132.210.78
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 reply 2.pool.ntp.org is 62.108.36.235
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 reply 2.pool.ntp.org is 129.70.132.36
Oct 5 16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 reply 2.pool.ntp.org is 144.91.116.85
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 reply 2.pool.ntp.org is 2a02:8106:21:9400::8
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 reply 2.pool.ntp.org is 2a01:4f8:c17:ef99::2
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 reply 2.pool.ntp.org is 2a03:b0c0:3:d0::1d2a:1
Oct 5 16:01:32 dnsmasq[13138]: 94 192.168.1.4/36187 reply 2.pool.ntp.org is 2a02:8106:21:9400::5
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 reply 2.pool.ntp.org is 194.36.144.87
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 reply 2.pool.ntp.org is 116.202.100.11
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 reply 2.pool.ntp.org is 46.38.238.105
Oct 5 17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 reply 2.pool.ntp.org is 185.41.106.152
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 reply 2.pool.ntp.org is 2a01:4ff:1f0:8d06::20
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 reply 2.pool.ntp.org is 2a01:4f8:242:4f5c::2
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 reply 2.pool.ntp.org is 2001:418:3ff::53
Oct 5 17:01:42 dnsmasq[13138]: 96 192.168.1.4/36525 reply 2.pool.ntp.org is 2a01:4f9:c010:157::1
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 reply 2.pool.ntp.org is 129.250.35.250
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 reply 2.pool.ntp.org is 144.76.139.8
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 reply 2.pool.ntp.org is 176.9.166.35
Oct 5 18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 reply 2.pool.ntp.org is 5.1.73.2
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 reply 2.pool.ntp.org is 2003:a:47f:abe4:48ba:cd42:dbcc:1000
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 reply 2.pool.ntp.org is 2606:4700:f1::1
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 reply 2.pool.ntp.org is 2001:638:504:2000::33
Oct 5 18:01:52 dnsmasq[13138]: 98 192.168.1.4/45367 reply 2.pool.ntp.org is 2001:638:208:1::116
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 reply 2.pool.ntp.org is 129.250.35.250
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 reply 2.pool.ntp.org is 213.239.234.28
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 reply 2.pool.ntp.org is 78.47.168.188
Oct 5 19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 reply 2.pool.ntp.org is 162.159.200.123
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 reply 2.pool.ntp.org is 2a01:4f8:120:7335::123
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 reply 2.pool.ntp.org is 2a01:4f8:c2c:8952::
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 reply 2.pool.ntp.org is 2a02:8106:21:9400::8
Oct 5 19:02:02 dnsmasq[13138]: 100 192.168.1.4/36940 reply 2.pool.ntp.org is 2003:a:87f:c37c::7
Oct 5 19:46:00 dnsmasq[13138]: exiting on receipt of SIGTERM
Oct 5 19:46:01 dnsmasq[27672]: started, version 2.87 cache disabled
Oct 5 19:46:01 dnsmasq[27672]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC loop-detect inotify no-dumpfile
Oct 5 19:46:01 dnsmasq-dhcp[27672]: DHCP, IP range 192.168.8.100 -- 192.168.8.149, lease time 1d
Oct 5 19:46:01 dnsmasq-dhcp[27672]: DHCP, IP range 192.168.7.100 -- 192.168.7.149, lease time 1d
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for test
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for onion
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for localhost
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for local
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for invalid
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for bind
Oct 5 19:46:01 dnsmasq[27672]: reading /tmp/resolv.dnsmasq
Oct 5 19:46:01 dnsmasq[27672]: using nameserver 192.168.1.2#53
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for test
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for onion
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for localhost
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for local
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for invalid
Oct 5 19:46:01 dnsmasq[27672]: using only locally-known addresses for bind
Oct 5 19:46:01 dnsmasq[27672]: read /etc/hosts - 2 addresses
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 reply 2.pool.ntp.org is 45.9.61.155
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 reply 2.pool.ntp.org is 129.70.132.36
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 reply 2.pool.ntp.org is 129.250.35.251
Oct 5 20:02:12 dnsmasq[27672]: 1 192.168.1.4/38049 reply 2.pool.ntp.org is 172.105.75.114
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 reply 2.pool.ntp.org is 2a06:e881:2100:abcd::2
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 reply 2.pool.ntp.org is 2a03:b0c0:3:d0::1d2a:1
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 reply 2.pool.ntp.org is 2a01:4f8:162:7243::3
Oct 5 20:02:12 dnsmasq[27672]: 2 192.168.1.4/38049 reply 2.pool.ntp.org is 2001:638:a000:1123:123::1
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 reply 2.pool.ntp.org is 64.225.95.100
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 reply 2.pool.ntp.org is 168.119.4.163
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 reply 2.pool.ntp.org is 185.248.188.98
Oct 5 21:02:22 dnsmasq[27672]: 3 192.168.1.4/47013 reply 2.pool.ntp.org is 194.25.134.196
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 reply 2.pool.ntp.org is 2001:638:610:be01::104
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 reply 2.pool.ntp.org is 2a01:4f8:211:2093::1
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 reply 2.pool.ntp.org is 2a0d:5440::24
Oct 5 21:02:22 dnsmasq[27672]: 4 192.168.1.4/47013 reply 2.pool.ntp.org is 2003:a:87f:c37c::
Oct 5 21:20:00 dnsmasq[27672]: exiting on receipt of SIGTERM
Oct 5 21:20:00 dnsmasq[28054]: started, version 2.87 cache disabled
Oct 5 21:20:00 dnsmasq[28054]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC loop-detect inotify no-dumpfile
Oct 5 21:20:00 dnsmasq-dhcp[28054]: DHCP, IP range 192.168.8.100 -- 192.168.8.149, lease time 1d
Oct 5 21:20:00 dnsmasq-dhcp[28054]: DHCP, IP range 192.168.7.100 -- 192.168.7.149, lease time 1d
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for test
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for onion
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for localhost
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for local
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for invalid
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for bind
Oct 5 21:20:00 dnsmasq[28054]: reading /tmp/resolv.dnsmasq
Oct 5 21:20:00 dnsmasq[28054]: using nameserver 192.168.1.2#53
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for test
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for onion
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for localhost
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for local
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for invalid
Oct 5 21:20:00 dnsmasq[28054]: using only locally-known addresses for bind
Oct 5 21:20:00 dnsmasq[28054]: read /etc/hosts - 2 addresses
Oct 5 22:02:32 dnsmasq[28054]: 1 192.168.1.4/56554 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 22:02:32 dnsmasq[28054]: 1 192.168.1.4/56554 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 22:02:32 dnsmasq[28054]: 2 192.168.1.4/56554 query[AAAA] 2.pool.ntp.org from 192.168.1.4
Oct 5 22:02:32 dnsmasq[28054]: 2 192.168.1.4/56554 forwarded 2.pool.ntp.org to 192.168.1.2
Oct 5 22:02:32 dnsmasq[28054]: 1 192.168.1.4/56554 reply 2.pool.ntp.org is 141.98.136.83
Oct 5 22:02:32 dnsmasq[28054]: 1 192.168.1.4/56554 reply 2.pool.ntp.org is 176.9.44.212
Oct 5 22:02:32 dnsmasq[28054]: 1 192.168.1.4/56554 reply 2.pool.ntp.org is 185.120.22.12
......
Oct 5 19:46:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 5 19:46:01 DD-WRT user.info : [dnsmasq] : daemon successfully stopped
Oct 5 19:46:01 DD-WRT user.info : [dnsmasq] : successfully started
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : daemon successfully stopped
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : successfully started
So in my log it looks like dnsmasq is not dying at all but restarting incorrectly.
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sat Oct 07, 2023 13:00 Post subject:
ho1Aetoo wrote:
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 query[A] 2.pool.ntp.org from 192.168.1.4
Oct 5 15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 forwarded 2.pool.ntp.org to 192.168.1.2
....
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : daemon successfully stopped
Oct 5 21:20:00 DD-WRT user.info : [dnsmasq] : successfully started
So in my log it looks like dnsmasq is not dying at all but restarting incorrectly.
Is still very strange because the problem occurs only on one router
As a reference, try clearing "Server IP/Name" field, hit Save and reboot! If these log entries still appeared, then something else was causing the problem.
You can test connection to ntp.pool.org using Windows:
Code:
C:\> w32tm /stripchart /computer:pool.ntp.org /dataonly
Tracking pool.ntp.org [162.159.200.1:123].
The current time is 10/7/2023 9:06:54 PM.
21:06:54, +22.0524315s
21:06:56, +22.0524448s
^C
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
this has nothing to do with NTP at all
first of all i use the settings on 5 identical routers and only the one router has problems
secondly the NTP servers are polled every 60min as you can see in the logs.
Code:
15:01:21 dnsmasq[13138]: 91 192.168.1.4/42765 query[A] 2.pool.ntp.org from 192.168.1.4
16:01:32 dnsmasq[13138]: 93 192.168.1.4/36187 query[A] 2.pool.ntp.org from 192.168.1.4
17:01:42 dnsmasq[13138]: 95 192.168.1.4/36525 query[A] 2.pool.ntp.org from 192.168.1.4
18:01:52 dnsmasq[13138]: 97 192.168.1.4/45367 query[A] 2.pool.ntp.org from 192.168.1.4
19:02:02 dnsmasq[13138]: 99 192.168.1.4/36940 query[A] 2.pool.ntp.org from 192.168.1.4
19:46:00 dnsmasq[13138]: exiting on receipt of SIGTERM
but dnsmasq is restarted in between and not when the NTP server is contacted.