stackia / DNSAgent

A powerful "hosts" replacement.
MIT License
614 stars 88 forks source link

Dynamic DefaultNameServer possible (DHCP)? #34

Open spackmat opened 6 years ago

spackmat commented 6 years ago

Hi,

on my notebook, I have differing network-settings when I login to different WiFi-Networks. So DHCP must be activated for both IP-addresses and DNS-servers. So, I cannot provide DNSAgent with a static DefaultNameServer setting. Is it possible for DNSAgent to obtain the current connection's DNS-servers and use those?

Or does anyone have a good workaround for such nomadic usage scenarios? I just need *dev.lan to be resolved to a VM with a static IP-address inside a VPN.

Greets, spackmat