Dual Wan Debian Router. Still a little off.
by jmgibson1981 from LinuxQuestions.org on (#5J9VF)
This thread is where I was graciously helped to troubleshoot and solve a nasty nat leak.
https://www.linuxquestions.org/quest...ow-4175695439/
Now it has been a bit here or there. Not the best though. And as in the other thread I have trouble believing that this companies internet is the problem else they wouldn't be in or have much business.
My next target is my dnsmasq deployment. It was configured from the archwiki for the most part, and it does work. I can resolve local names with no trouble, the dhcp works great. But my external dns is where I'm thinking I may have an issue yet. IP's do load, but after a bit. They don't come up, or even attempt to load until after 10 seconds or so. Minor but over the course of a day it can be a problem. I see this in my address bar of chrome for example until it actually starts to load.
https://pasteboard.co/K3GUAsQ.png
This dnsmasq is on the router itself. For reference the script to configure the router is here.
https://gitlab.com/jmgibson1981/scri.../homerouter.sh
Code:# dns
port=53
listen-address=::1,127.0.0.1,192.168.1.1
cache-size=1000
no-resolv
bogus-priv
strict-order
server=8.8.8.8
server=8.8.4.4
# dhcp
interface=enp2s0
bind-interfaces
domain=mylan.home
dhcp-option=option:router,192.168.1.1
dhcp-range=192.168.1.50,192.168.1.200,2h/etc/resolv.conf
Code:nameserver ::1
nameserver 127.0.0.1Googling dual wan dnsmasq... quite frankly I don't understand much of it. I see stuff about hooks and rules to make dns go through it's assigned wan but nothing about how to do these things.


https://www.linuxquestions.org/quest...ow-4175695439/
Now it has been a bit here or there. Not the best though. And as in the other thread I have trouble believing that this companies internet is the problem else they wouldn't be in or have much business.
My next target is my dnsmasq deployment. It was configured from the archwiki for the most part, and it does work. I can resolve local names with no trouble, the dhcp works great. But my external dns is where I'm thinking I may have an issue yet. IP's do load, but after a bit. They don't come up, or even attempt to load until after 10 seconds or so. Minor but over the course of a day it can be a problem. I see this in my address bar of chrome for example until it actually starts to load.
https://pasteboard.co/K3GUAsQ.png
This dnsmasq is on the router itself. For reference the script to configure the router is here.
https://gitlab.com/jmgibson1981/scri.../homerouter.sh
Code:# dns
port=53
listen-address=::1,127.0.0.1,192.168.1.1
cache-size=1000
no-resolv
bogus-priv
strict-order
server=8.8.8.8
server=8.8.4.4
# dhcp
interface=enp2s0
bind-interfaces
domain=mylan.home
dhcp-option=option:router,192.168.1.1
dhcp-range=192.168.1.50,192.168.1.200,2h/etc/resolv.conf
Code:nameserver ::1
nameserver 127.0.0.1Googling dual wan dnsmasq... quite frankly I don't understand much of it. I see stuff about hooks and rules to make dns go through it's assigned wan but nothing about how to do these things.