You can pull the information directly from the registry:

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_{YOUR_INTERFACE_ID}
Value: NameServerList

You'll need to enumerate the interfaces and identify which one you are interested in.