I have two ethernet interfaces, eth0, and eth1 on ubuntu 17.04. eth0 is configured for DHCP and obtains an IP address, gateway, and DNS servers. This is a mobile PC so these change everytime.
eth1 is a local network where I would like to provide a DHCP server with the basic features of supplying an IP (static or dynamic), gateway, search domain, and a primary and secondary DNS. I'd like to pass on eth0's DNS servers and not some static pre-known option. How is this accomplished?
Once I connect eth0, dnsmasq seems to be doing the resolving and I can't seem to find (a) where the two servers are stored and (b) dynamically instruct a DHCP server either isc-dhcp or dnsmasq or whatever to use those in the offers.