Mikrotik Can't Resolve Some URLs

Hello folks, been a lurker for about a week here
So i recently reverted back to 6.40.5 after borking 6.41, the problem is Mikrotik stopped resolving some URL addresses (most grievously gitlab.com).

The network setup is for personal home usage, ISP GPON / ONT → bridge mode → Mikrotik RB952Ui-5ac2nD (hap ac lite) as pppoe-client → clients.

This is the config (with sensitive information not shown):

# jan/04/2018 17:09:58 by RouterOS 6.40.5
#
# model = RouterBOARD 952Ui-5ac2nD
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether3 ] master-port=ether2-master
set [ find default-name=ether4 ] master-port=ether2-master
set [ find default-name=ether5 ] disabled=yes master-port=ether2-master
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 keepalive-timeout=80 \
    name=pppoe-toisp user=xxx@xxx.net
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
    country=indonesia disabled=no distance=indoors frequency=auto mode=\
    ap-bridge ssid=Mikrotik-AP wireless-protocol=802.11 wmm-support=\
    enabled wps-mode=disabled
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
    20/40/80mhz-Ceee country=indonesia distance=indoors frequency=auto mode=\
    ap-bridge ssid=MikroTik-AP2 wireless-protocol=802.11
/ip neighbor discovery
set ether1 discover=no
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
    dynamic-keys supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.88.210-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip settings
set rp-filter=strict
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
    192.168.88.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set max-udp-packet-size=8192 servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall address-list
add address=192.168.88.0/24 list=allowed_to_router
/ip firewall filter
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
    ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
    ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related
add action=accept chain=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
    connection-state=invalid
add action=accept chain=input comment="allow only local ips to router"
add action=drop chain=forward comment=\
    "defconf: drop all from WAN not DSTnated" connection-nat-state=!dstnat \
    connection-state=new in-interface=ether1
add action=drop chain=input comment="Block DNS request on WAN" dst-port=53 \
    in-interface=pppoe-toisp protocol=udp
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
    ipsec-policy=out,none out-interface-list=WAN
add action=masquerade chain=srcnat out-interface=pppoe-toisp
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set pptp disabled=yes
set udplite disabled=yes
set dccp disabled=yes
set sctp disabled=yes
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www address=192.168.88.0/24 disabled=yes
set ssh address=192.168.88.0/24
set api disabled=yes
set winbox disabled=yes
set api-ssl disabled=yes
/ip ssh
set strong-crypto=yes
/system clock
set time-zone-name=Asia/Jakarta
/system logging
add topics=dns,!packet,!debug
/tool bandwidth-server
set enabled=no
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=bridge
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=bridge
/tool mac-server ping
set enabled=no

List of things that I’ve done:

  • Changing mikrotik dns to 8.8.8.8 and 8.8.4.4 (still not working)
    Allow-remote-requests and disallow it (also not working)

Any idea what i’ve done wrong?

I dont see where you issue DNS IP’s out to clients?
Also, try and change:
/ip dns
set max-udp-packet-size=8192 servers=8.8.8.8,8.8.4.4
to:
set max-udp-packet-size=4096 servers=8.8.8.8,8.8.4.4

Not resolving (=dns) …or not opening the website?
Since you’re using pppoe, prime suspect is mss-clamp. Make sure to enable it