lorddoom420 / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

namebench should search dhcp lease data for alternate servers to test #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If a user has already switched DNS servers, we should be able to get the 
originally assigned DNS servers from their lease files if they differ.

Ubuntu:

% grep "domain-name-servers" /var/lib/dhcp3/dhclient.eth0.leases | sort -u 

How to do so on Mac OS X or Windows remains to be seen.

Original issue reported on code.google.com by tstromb...@google.com on 8 Jun 2010 at 5:45

GoogleCodeExporter commented 8 years ago
Windows provides this information too (at least under Windows 7):

NetBT\Parameters\Interfaces\Tcpip_{xxx}\DhcpNameServerList

Mac OS X provides this information by:

% ipconfig getpacket en1

Original comment by helixblue on 9 Jun 2010 at 4:48