DNS not working

Hi

I have configured a new Mikrotik RB951G-2HnD router for my home network. It work but can’t open some pages like google.com and others. Some pages works without problems. If I enter google.com IP in browser like http://216.58.209.164 it works but http://www.google.com doesn’t. Strange, when I try http://www.bing.com it works without problems. So there must be some kind of a cache function on Mikrotik DNS server, but I can’t find it anywhere.

Router is configured with PPPoE WAN adapter as ETH0 and LAN 40.30.40.0/24 as ETH1.
Under IP - DHCP SERVER I have set-up DNS server to routers IP 40.30.40.1
Under IP - DNS I have set-up DNS servers like

  • Servers 8.8.8.8, 8.8.4.4
  • Dynamic servers none
  • Allow remote requests enabled
  • Max UDP packet size 4096
  • Query server timeout 2.000
  • Query total timeout 10.000
  • Cache size 2048
  • Cache max TTL 00:15:00

My clients get IP from routers DHCP server like

  • IP: 40.30.40.66
  • MASK: 255.255.255.0
  • GW: 40.30.40.1
  • DNS: 40.30.40.1

Also if i set-up static DNS on clients NIC it also doesn’t resolve some pages like google.com. Can it be some feature on firewall that could block this ? All other settings are default.
I have also disabled peer dns on PPPoE WAN adapter.

Any ideas how to solve this, it is driving me crazy.
Looking under IP - DNS - Cache it show page like www.google.com but it doens’t open it on browser.
I switch back to my old linksys router where everything works fine, but I would really like to put Mikrotik to work since WiFi on Mikrotik is much better.

Thank you all in advance for help

Mike