I have 2 networks connected to my work PC, we'll call them NET1 and NET2. NET1 has internet access and NET2 doesn't.
NET1 is a work network which I have no control over.
My work computer is connected to both NET1 and NET2 via Intel(R) Ethernet Connection I217-LM, and ASIX AX88179 3.0 to Gigabit Ethernet Adapter respectively. IPV4 settings for NET1 are configured with static IPs and designated DNSs. NET2 IPV4 settings are set to be DHCP client with the metric box checked and no default gateway.
NET2 consists of a Netgear ProSafe GS516TP managed switch and a Pi-Hole plugged into the managed switch to act as my DHCP and DNS for devices I plug into the switch.
Whenever I plug my work PC into the NET2, webpages on my work computer timeout, fail to load or the page takes forever to load. The second I unplug NET2, the web pages either reloads or loads after I refresh the page.
Before plugging in the isolated network if I run nslookup, I get what I expect. When I plug in NET2, default Server and address field is now the hostname of the Pi-HOle and its ip address.
So once I plug in NET2 it automatically points to Pihole for all DNS lookups? How can I prevent this?
Thanks ahead of time.