glee said:
I've been reading this thread, and at this point, I cannot determine
what it is you actually want to do, and why. You've been told how to
find your ISPs DNS server address.... by connecting without static
addresses and viewing what's assigned. What else is it you are trying
to do, exactly? Give complete information on what your goal is, please!
The information I need is pretty simple:
Get or record the DNS server addresses that are offered at the time my
dialup is connected. They must not be retrived from other sources. e.g.:
NSLOOKUP.
Dialup details and "rules":
1. Once the dialup is connected, it must not be disconnected. Even just to
retrieve the offered DNS information.
2. Dialup connection is using static DNS (my custom DNS): Google DNS and
one from other ISP. This must not be changed at the start of dialup
connection. Also see below acceptable alternative solution.
3. Connection is still using IPv4. Switching to IPv6 is not applicable.
4. Probably due to IPv4, the dialup has no pulic IP. It IP is always
10.x.x.x. Having no public IP is not a problem nor I have plan to get one.
5. Probably also due to IPv4, the offered DNS when using dynamic DNS are
also 10.x.x.x (this is why NSLOOKUP is not applicable). The 10.x.x.x DNS
are also seem dynamic (varies more than just 2 different IPs). It's like
the 10.x.x.x DNS are unique for each dialup connection session.
The problem:
Due to static DNS, the offered DNS addresses are ignored and deleted.
There seems to be no record/log about it.
Other acceptable alternative solution:
Before connecting, set the dialup to use dynamic DNS (auto DNS). Once
conected, get the offerred DNS (that are currently in use/assigned) via
IPCONFIG. Then somehow change current connection session DNS setting (not
the permanent one; i.e.: registry) to use my custom DNS. However, I don't
how to change the DNS and apply it without disconnecting the dialup
(remember that the dialup must not be disconnected).
Why I need to do this:
I simply don't trust my ISP DNS. I will only use them as the very last
resort (as backup of a backup via manual DNS query).