Hmmm.. when I try the DNS-based firewall, my internet stops working across all devices.. I might be doing something wrong, but i've followed the docs to the letter
I've followed the instructions here and I haven't done the extras (Preresolve domains, etc), but after a few test, the dnsmasq looped on looking up example.com, this still happens even after a full restart
Tue Jan 19 05:52:43 2021 daemon.info dnsmasq[8268]: 689 ::1/42297 query[AAAA] example.com from ::1
Tue Jan 19 05:52:44 2021 daemon.info dnsmasq[8268]: 689 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:44 2021 daemon.info dnsmasq[8268]: 689 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:44 2021 daemon.info dnsmasq[8268]: 690 127.0.0.1/45510 query[A] example.com from 127.0.0.1
Tue Jan 19 05:52:44 2021 daemon.info dnsmasq[8268]: 690 127.0.0.1/45510 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:44 2021 daemon.info dnsmasq[8268]: 690 127.0.0.1/45510 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:45 2021 daemon.info dnsmasq[8268]: 691 127.0.0.1/60099 query[A] example.com from 127.0.0.1
Tue Jan 19 05:52:45 2021 daemon.info dnsmasq[8268]: 691 127.0.0.1/60099 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:45 2021 daemon.info dnsmasq[8268]: 691 127.0.0.1/60099 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 692 127.0.0.1/50883 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 692 127.0.0.1/50883 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 692 127.0.0.1/50883 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 693 ::1/42297 query[A] example.com from ::1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 693 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 693 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 694 ::1/42297 query[AAAA] example.com from ::1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 694 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:46 2021 daemon.info dnsmasq[8268]: 694 ::1/42297 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:47 2021 daemon.info dnsmasq[8268]: 695 127.0.0.1/50213 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:47 2021 daemon.info dnsmasq[8268]: 695 127.0.0.1/50213 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:47 2021 daemon.info dnsmasq[8268]: 695 127.0.0.1/50213 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:48 2021 daemon.info dnsmasq[8268]: 696 127.0.0.1/41578 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:48 2021 daemon.info dnsmasq[8268]: 696 127.0.0.1/41578 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:48 2021 daemon.info dnsmasq[8268]: 696 127.0.0.1/41578 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:49 2021 daemon.info dnsmasq[8268]: 697 127.0.0.1/54473 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:49 2021 daemon.info dnsmasq[8268]: 697 127.0.0.1/54473 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:49 2021 daemon.info dnsmasq[8268]: 697 127.0.0.1/54473 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:49 2021 daemon.info dnsmasq[8268]: 698 127.0.0.1/34122 query[A] example.com from 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 698 127.0.0.1/34122 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 698 127.0.0.1/34122 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 699 127.0.0.1/34122 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 699 127.0.0.1/34122 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 699 127.0.0.1/34122 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 700 127.0.0.1/46240 query[AAAA] example.com from 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 700 127.0.0.1/46240 forwarded example.com to 127.0.0.1
Tue Jan 19 05:52:50 2021 daemon.info dnsmasq[8268]: 700 127.0.0.1/46240 forwarded example.com to 127.0.0.1
NOTE: I've enabled log queries in dnsmasq to see for potential errors during config
Hi @vgaetera
Can I request if you can do another test, but with the log queries in dnsmasq is enabled and see if the same thing is happening to you? It would be a great help trace my issue in my setup.
I'm trying to setup a VM through VirtualBox but i'm getting this error when I tried to start it. I used the documentation from here.
Failed to open a session for the virtual machine OpenWRT-Test.
The virtual machine 'OpenWRT-Test' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
I thought above was my correct solution, but it only fixed a different issue because of the dnsmasq and dnsmasq-full with version 2.80-16.2 (this was fully discussed here)
Anyway, in my setup, I had to make sure that my wan and wan6 has a specified DNS servers that is outside my local network. Somehow, my settings keeps on defaulting to use 127.0.0.1.
Note: I used cloudflare dns for this as this is the fastest for my connection.