Solved

DNS Issues ...

Posted on 2006-10-27
15
262 Views
Last Modified: 2010-04-18
Hi,

I've got a winServer2003 box which ppl dial into via VPN.  The problem is that once you have dialed in, you can't resolve the server name.  This is a huge problem as we aren't able to locate our resources on the server.  

This is what i've got so far:

server info:
PPP adapter RAS server interface
ip: 192.168.1.159

Ethernet adapter local area connection
ip: 192.168.1.210
Gateway: 192.168.1.1
DNS server: 192.168.1.210

client info:
Ethernet adapter local area connection (info assigned by my home router)
ip: 192.168.1.100
Gateway: 192.168.1.1
DNS servers: 206.47.244.108
                    206.47.244.42

PPP adapter:
ip address: 192.168.1.155
Gateway: 192.168.1.1
DNS Servers: 192.168.1.1
                    192.168.1.210
                    192.168.1.210


i can ping domain.com and get a response.

When i ping servName.domain.com, it resolves the address to 205.178.145.65, and returns a request timed out.  I have no idea where that comes from, because we don't own that. (at least i dont think we do).  

When i ping servName, it also resolves the address to 205.178.145.65.  

I can ping 192.168.1.210 and get a response.  

any thoughts?


0
Comment
Question by:jGams
  • 9
  • 6
15 Comments
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
I had that same problem when my home and office IP ranges were the same.   It had to do with the WINS.  The quick fix that I used was to change my home range to 192.168.2.1.

 
0
 
LVL 2

Author Comment

by:jGams
Comment Utility
caddlady,

I tried that, however, i still have servName resolving to the address of 205.178.145.65, when it should be 192.168.1.210
0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
The address 205.178.145.65 seems to resolve to a Network Solutions company that hosts Domains and Email.

Are your clients dialing-in via a Modem, DSL, Cable?

Do you have 2 NIC cards in your server?  1 dedicated to the VPN?


0
 
LVL 2

Author Comment

by:jGams
Comment Utility
through DSL.

we have 2, but one is disabled in the network connections window.  However there is a 'PPP adapter RAS server (Dial In) Interface' when i do ipconfig /all
0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
So your clients have created a VPN network connection, they are pointing it to your Static IP address and are connecting using what network type - PPTP or L2TP?
0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
http://technet2.microsoft.com/WindowsServer/en/library/a11d2b51-2378-4014-a095-0021acdfe1461033.mspx?mfr=true

Excerpt from above link:

Configuring Name Resolution on a VPN Server
Updated: March 28, 2003
If you use Domain Name System (DNS) to resolve intranet host names or Windows Internet Name Service (WINS) to resolve intranet NetBIOS names, manually configure the VPN server with the IP addresses of the appropriate DNS and WINS servers.

During the PPP connection setup process, VPN clients receive the IP addresses of DNS and WINS servers. By default, the VPN clients inherit the DNS and WINS server IP addresses configured on the VPN server. However, VPN clients that are capable of sending a DHCPINFORM message (computers running Windows 2000, Windows XP, or Windows Server 2003) get their DNS and WINS server IP addresses from the DHCP server.

0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
Also, You should have 2 working network cards in your server to balance the load - 1 for LAN and 1 for VPN
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 8

Expert Comment

by:caddlady
Comment Utility
0
 
LVL 2

Author Comment

by:jGams
Comment Utility
questions:

So right now we have it setup to hand out ip's by DHCP.  Now, do i need to use the DHCP? or can we just assign the ip's from the static pool of addresses that we specify?  Is there any pros using DHCP over the static ip pool?

Also, there are many indiviudals connecting through VPN, most of them unlikely of configuring their own internal ip's. Becuase most routers are defualted to 192.168.1.x, it seems that it would be easier to change the VPN ip range to something different, that way, we wouldn't have to get other ppl to change their internal networks.  BUT ... if i change the VPN ip adresses, does that mean i have to change the server ip addresses as well?

Right now its setup so that
router = 192.168.1.1
server = 192.168.1.210
ppp adapter = 192.168.1.155

if i were to change the VPN ip range to assign ip's of say 192.168.10.120-150.  And then i connect to the VPN.  I get assigned an ip of 192.168.10.125, would i still be able to access the resources on 192.168.1.210?

Hopefully that makes sense....
0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
DHCP is fine - but as excerpt below says - you need to make sure that the correct DNS and WINS information is being distributed by your DHCP server to 2000 and XP clients.

>>>>However, VPN clients that are capable of sending a DHCPINFORM message (computers running Windows 2000, Windows XP, or Windows Server 2003) get their DNS and WINS server IP addresses from the DHCP server.


No, they need to be in the same range (192.168.1.XXX) or you will have to "Bridge" to two network ranges.

0
 
LVL 2

Author Comment

by:jGams
Comment Utility
Okay, i checked the info in the DHCP server, all we are distributing is the router addy: 192.168.1.1 and DNS addy: 192.168.1.210.  

Im going to have to check on changing the ip range to something like 192.168.10.x on the server, because it seems like the more viable solution for everyone.  I'll post back when we make the decision on the best approach as we will probably have to schedule some down time.

Also  just another quick question.  As for the 205.178.145.65, it seems that they are hosting our website.  If i do a nslookup on our domain, it resloves to 205.178.145.65 ... is this correct?  should it resolve to our designated ip address instead?

Thanks for you help so far caddlady, i appreciate it.
0
 
LVL 8

Expert Comment

by:caddlady
Comment Utility
I do not think it will be necessary to change the range if you just add WINS so it will resolve the Netbios names for you.

Do you have a Domain name on your local LAN that is the same as the Domain that Network solutions is hosting?  If so, that could be why it is resolving to the 205.178.145.65 address.

If you are not the host of your email/www/ etc.  Your local domain name on your 2003 server should be    domainname.local      not    domainname.com    (for example)
0
 
LVL 2

Author Comment

by:jGams
Comment Utility
Last night i configured my hosts file to have the servName.  I can now recognize everything perfectly, but i was looking for a solution which didn't involve configuring everyone's personal laptop.

We don't even have a WINS server installed right now.  Would installing one possible fix the problem?
0
 
LVL 8

Accepted Solution

by:
caddlady earned 500 total points
Comment Utility
Yes, a WINS server will gather the computer names and their respective IP addresses and keep the list current.

http://technet2.microsoft.com/WindowsServer/en/library/702d3b5d-91be-40ed-a7e2-cf35ac978e191033.mspx?mfr=true
0
 
LVL 2

Author Comment

by:jGams
Comment Utility
thx for your help!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now