I am sharing internet from eth1 to eth2. I do this by editing the eth2 properties and setting method to Shared to other computers.
I also use dnsmasq for dns caching. Now if I enable Internet sharing I have to stop the existing dnsmasq instance as network manager starts its own dnsmasq instance. But this new dnsmasq instance has no dns caching options.
I have router based on OpenWRT which has dnsmasq 2.59. Inside my local area network I have a NS server bind. This server has internal and external views for a couple of my domains. My router forwards port 53 TCP and UDP from outside IP (router WAN) to this server.
dnsmasq is a lightweight, open-source DNS forwarder and DHCP server. In this article we go through how to prepare the system in order to run dnsmasq and also how to configure the latter as a caching-only DNS server. A configuration file is also provided as a drop-in replacement for the default dnsmasq.conf that ships with your system.
Making server for school. ISP is PPPoe. internet-modem/router-server-WAN(eth0)-LAN(eth2)-switch-clients. eth0 is dhcp. eth2 is static 10.10.0.1 255.255.255.0.
I am attemting to use dnsmasq to create dns caching and dhcp on LAN.
I commented out dns-dnsmasq in NM, downloaded and installed dnsmasq, and configured dnsmasq.conf, but no caching and no dhcp.