That would work, but I'm trying to avoid sending all DNS requests (not 
DHCP) from the entire LAN through a separate server, IF there is another 
way. I still suspect there's some configuration file that would address the 
issue, but a lot of Googling has yet to turn up a solution.

Just to provide a little more information, my LAN is in the 192.168.x.x 
address range. When I set up shared internet through the second ethernet 
port, that port takes the address 10.42.0.1 and the laptop attached to it 
gets an address like 10.42.0.42. Why wouldn't the 10.42.0.x subnet use the 
hosts file of the machine it's hosted on?

It still seems to me that it should work, but I've probably got something 
configured that prevents it from working.



On Wednesday, February 28, 2018 at 12:18:16 PM UTC-5, vince wrote:
>
> On Wednesday, February 28, 2018 at 9:06:42 AM UTC-8, RobbH wrote:
>>
>> My plan was to add a second ethernet port to the Weewx computer, and 
>> "share the internet connection" through that port. I assumed that I could 
>> then add this line to the hosts file on that computer:
>>
>>
>>
> You could do it I think with a raspi running pihole (which is dnsmasq 
> under the hood) assuming you can set your DHCP server's DNS settings so 
> your LAN DHCP requests go to the raspi.  Basically have the raspi take over 
> DNS functionality for your LAN. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to