pptp - dns problem


G

Guest

Hi,

Even when I've connected to a remote pptp server, my PC uses the DNS servers
assigned by DHCP server.
So, I can't resolve the host names on my intranet via DNS...
What I hope is that, once the pptp connection set-up has been done, the DNS
servers on the PPP adapter are used by default.

Any Ideas?

[ipconfig /all (PPTP is UP)]

Windows IP Configuration

Host Name . . . . . . . . . . . . : Pc
Primary Dns Suffix . . . . . . . : exmpl.com.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : exmpl.com.local
exmpl.com

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wire
Physical Address. . . . . . . . . : 00-0E-35-C4-57-
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Monday, May 1, 200
Lease Expires . . . . . . . . . . : Thursday, May 4, 2

PPP adapter vpn:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Inte
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 172.16.255.1
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 172.16.255.254
DNS Servers . . . . . . . . . . . : 172.16.0.1
172.16.0.2
Primary WINS Server . . . . . . . : 172.16.128.8
Secondary WINS Server . . . . . . : 192.168.128.8


[nslookup results]

---case1--- looking up public host with default DNS server
Server: fwdr.remotesite.com
Address: 192.168.0.1

Non-authoritative answer:
Name: www.l.google.com
Addresses: 66.102.7.99, 66.102.7.104, 66.102.7.147
Aliases: www.google.com


---case2--- looking up private host with default DNS server
nslookup intranet.exmpl.com
Server: fwdr.remotesite.com
Address: 192.168.0.1

Name: intranet.exmpl.com


---case3--- looking up private host with private DNS server

# this works. my PC uses the DNS server on the PPP adapter!
nslookup intranet.exmpl.com dns0.exmpl.com
Server: dns0.exmpl.com
Address: 172.16.0.1

Name: intranet.exmpl.com
Address: 192.168.192.30

---case4--- looking up private host (DNS server) with default DNS server
nslookup dns0.exmpl.com
Server: fwdr.remotesite.com
Address: 192.168.0.1

Name: dns0.exmpl.com


---case5--- looking up private host (DNS server) with private DNS server
nslookup dns0.exmpl.com dns0.exmpl.com
Server: dns0.exmpl.com
Address: 172.16.0.1

Non-authoritative answer:
Name: dns0.exmpl.com
Address: 172.16.0.1


/soba-C
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top