We are facing an issue with Gmail, it is not resolving if we keep the devices for more then 12Hr. Remaining all sites were working good.
Please help me, how can I resolve the issue?
log:
May 1 09:02:37 dnsmasq[2887]: cached mail.google.com is <CNAME>
May 1 09:02:37 dnsmasq[2887]: cached googlemail.l.google.com is NODATA-IPv4
May 1 09:02:37 dnsmasq[2887]: query[A] mail.google.com from 192.168.221.235
May 1 09:02:37 dnsmasq[2887]: cached mail.google.com is <CNAME>
May 1 09:02:37 dnsmasq[2887]: cached googlemail.l.google.com is NODATA-IPv4
May 1 09:02:37 dnsmasq[2887]: query[A] google.com from 192.168.221.235
If you want Google to really know nearly everything about your household internet communication and make the best commercial use of this personal information then go ahead.
I would instead follow the advice of @tapper and upgrade OpenWrt to 18.xx and start with a new DNS configuration from scratch.
Then the problem is bigger because you're missing a lot of security patches since September 2015.
Why not just use the default DNS servers of your ISP? Or build your own self resolving dns cache service if you don't trust them or you see yourself unable to use them.
Major DNS providers usually have more clear content filtering policy and DNSSEC validation policy.
And in some cases they also have better fault tolerance and shorter response time.
May 2 21:36:09 dnsmasq-dhcp[30890]: DHCP, IP range 192.168.221.100 -- 192.168.221.249, lease time 12h
May 2 21:36:09 dnsmasq[30890]: using local addresses only for domain lan
May 2 21:36:09 dnsmasq[30890]: reading /tmp/resolv.conf.auto
May 2 21:36:09 dnsmasq[30890]: using local addresses only for domain lan
May 2 21:36:09 dnsmasq[30890]: using nameserver 8.8.8.8#53
May 2 21:36:09 dnsmasq[30890]: using nameserver 8.8.4.4#53
May 2 21:36:09 dnsmasq[30890]: using nameserver 4.2.2.2#53
May 2 21:36:09 dnsmasq[30890]: read /etc/hosts - 2 addresses
May 2 21:36:09 dnsmasq[30890]: read /tmp/hosts/dhcp - 1 addresses
May 2 21:36:09 dnsmasq-dhcp[30890]: read /etc/ethers - 0 addresses
May 2 21:36:21 dnsmasq[30890]: query[A] forum.openwrt.org from 192.168.221.210
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 8.8.8.8
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 8.8.4.4
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 4.2.2.2
May 2 21:36:21 dnsmasq[30890]: query[AAAA] forum.openwrt.org from 192.168.221.210
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 8.8.8.8
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 8.8.4.4
May 2 21:36:21 dnsmasq[30890]: forwarded forum.openwrt.org to 4.2.2.2
May 2 21:36:21 dnsmasq[30890]: reply forum.openwrt.org is 139.59.210.197
May 2 21:36:21 dnsmasq[30890]: reply forum.openwrt.org is 2a03:b0c0:3:d0::168b:9001
May 2 21:36:21 dnsmasq[30890]: query[A] forum.openwrt.org from 192.168.221.210
May 2 21:36:21 dnsmasq[30890]: cached forum.openwrt.org is 139.59.210.197
May 2 21:36:21 dnsmasq[30890]: query[AAAA] forum.openwrt.org from 192.168.221.210
May 2 21:36:21 dnsmasq[30890]: cached forum.openwrt.org is 2a03:b0c0:3:d0::168b:9001
May 2 21:36:25 dnsmasq[30890]: query[A] forum.openwrt.org from 192.168.221.210
May 2 21:36:25 dnsmasq[30890]: cached forum.openwrt.org is 139.59.210.197
May 2 21:36:25 dnsmasq[30890]: query[AAAA] forum.openwrt.org from 192.168.221.210
May 2 21:36:25 dnsmasq[30890]: cached forum.openwrt.org is 2a03:b0c0:3:d0::168b:9001
May 2 22:02:43 dnsmasq[13816]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
May 2 22:02:43 dnsmasq[13816]: DNS service limited to local subnets
May 2 22:02:43 dnsmasq-dhcp[13816]: DHCP, IP range 192.168.221.100 -- 192.168.221.249, lease time 12h
May 2 22:02:43 dnsmasq[13816]: using local addresses only for domain lan
May 2 22:02:43 dnsmasq[13816]: reading /tmp/resolv.conf.auto
May 2 22:02:43 dnsmasq[13816]: using local addresses only for domain lan
May 2 22:02:43 dnsmasq[13816]: using nameserver 8.8.8.8#53
May 2 22:02:43 dnsmasq[13816]: using nameserver 8.8.4.4#53
May 2 22:02:43 dnsmasq[13816]: read /etc/hosts - 2 addresses
May 2 22:02:43 dnsmasq[13816]: read /tmp/hosts/dhcp - 1 addresses
May 2 22:02:43 dnsmasq-dhcp[13816]: read /etc/ethers - 0 addresses
May 2 22:02:44 dnsmasq[13816]: query[A] play.google.com from 192.168.221.210
May 2 22:02:44 dnsmasq[13816]: forwarded play.google.com to 8.8.8.8
May 2 22:02:44 dnsmasq[13816]: forwarded play.google.com to 8.8.4.4
May 2 22:02:44 dnsmasq[13816]: query[AAAA] play.google.com from 192.168.221.210
May 2 22:02:44 dnsmasq[13816]: forwarded play.google.com to 8.8.8.8
May 2 22:02:44 dnsmasq[13816]: forwarded play.google.com to 8.8.4.4
May 2 22:02:44 dnsmasq[13816]: reply play.google.com is 172.217.161.14
May 2 22:02:44 dnsmasq[13816]: reply play.google.com is 2404:6800:4007:800::200e
May 2 22:02:45 dnsmasq[13816]: query[A] forum.openwrt.org from 192.168.221.210
May 2 22:02:45 dnsmasq[13816]: forwarded forum.openwrt.org to 8.8.4.4
May 2 22:02:45 dnsmasq[13816]: query[AAAA] forum.openwrt.org from 192.168.221.210
May 2 22:02:45 dnsmasq[13816]: forwarded forum.openwrt.org to 8.8.4.4
May 2 22:02:45 dnsmasq[13816]: reply forum.openwrt.org is 139.59.210.197
May 2 22:02:45 dnsmasq[13816]: reply forum.openwrt.org is 2a03:b0c0:3:d0::168b:9001