Thu Dec 22, 2016 8:06 pm
Thanks for the explanation and help.
I just got the last reply while about to reply with the below info, so I will send this anyway and still look into the new information.
I am not seeing anything in the OUTPUT chain while the Internet is disconnected.
I only see the OUTPUT chain when the Internet is connected.
Here are the results:
Setup:
/ip dns
servers: 8.8.8.8,8.8.4.4
dynamic-servers:
allow-remote-requests: yes
max-udp-packet-size: 4096
query-server-timeout: 10s
query-total-timeout: 3s
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 82KiB
/ip firewall filter
chain=output action=log protocol=udp dst-port=53 log=no log-prefix="(53)"
chain=output action=log protocol=tcp dst-port=53 log=no log-prefix="(53)"
chain=output action=reject reject-with=icmp-network-unreachable protocol=udp layer7-protocol=local.net dst-port=53 log=yes log-prefix="(53 reject)"
When the internet is Disconnected, this is what I see:
17:17:42 firewall,info (53) input: in:lan_bridge1(ether3) out:(none), src-mac mac, proto UDP, 192.168.1.15:42753->192.168.1.1:53, len 71
17:17:42 firewall,info (53) input: in:lan_bridge1(ether3) out:(none), src-mac mac, proto UDP, 192.168.1.15:39263->192.168.1.1:53, len 71
Then, when I reconnect the Internet I see all these DNS Requests leave the router:
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:53826->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:49047->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:36523->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:53144->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:53066->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:49904->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:49658->8.8.4.4:53, len 74
17:17:48 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:48333->8.8.4.4:53, len 74
Then, with the Internet connected, I send a DNS request to the router:
17:26:14 firewall,info (53) input: in:lan_bridge1(ether3) out:(none), src-mac mac, proto UDP, 192.168.1.15:55569->192.168.1.1:53, len 71
17:26:14 firewall,info (53) output: in:(none) out:ether1, proto UDP, wan:52869->8.8.8.8:53, len 71
17:26:14 firewall,info (53) input: in:lan_bridge1(ether3) out:(none), src-mac mac, proto UDP, 192.168.1.15:55570->192.168.1.1:53, len 78
17:26:14 firewall,info (53) input: in:lan_bridge1(ether3) out:(none), src-mac mac, proto UDP, 192.168.1.15:55571->192.168.1.1:53, len 78