Closed ntadmin closed 8 years ago
DNS working using DNSmasq, so next step done in commit https://github.com/ntadmin/DGND3700v2/commit/750d8f7ba047969bb6ef4931129915538eabb65a
DNS doesn't yet get the DNS servers if they are set by the ISP, need to resolve this.
Is now configured to either use /etc/resolv.conf (which should be set by existing router code) or the ones specified by the user.
Remaining issue/concern: the start up seems to not always work, and sometimes it starts two dnsmasq processes, despite the rc code.
Working on the theory that two processes is normal: one DNS, one DHCP. However, currently:
Intersting start up efect:
Initially dnsmasq is runing, but once adsl connects and inadyn-mt is started, dnsmasq is stopped!!
Full rc boot sequence ion wiki
Hypothesis: a restart is being called and the stop is killing the dnsmasq processes. However, the kill is not complete when it gets onto the start which means that the start fails because the processes are still there. Solution: wait until the processes are dead. This idea in testing now.
Hypothesis failed :-(
Although the improved logging suggests that it si something to do with a restart not quite working:
Sun Jun 12 22:40:16 BST 2016 [rc_dnsmasq] dnsmasq stopped. Sun Jun 12 22:40:16 BST 2016 [rc_dnsmasq] dnsmasq already started, leaving it alone
Stable and working with addition of extra delay between stop and start in restart.
Need to test rc_dnsmasq If that works, set rc_dnsrd to sym link to rc_dnsmasq and remove dnsrd fro the Netgear apps collection.