MSFN Forum: Can't resolve DNS - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Can't resolve DNS Rate Topic: -----

#1 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 03 November 2007 - 03:06 AM

I live an a resident of hall.
We students here get internet from the router using DHCP. And we even see each other's computer DNS name when online.

I personally have hooked up another computer something like this:
###internet line### -------> ###connects to NIC1 on my computer 1 running Win2k3### --------> with the help of routing and remote I share this internet connection with my other computer lets call it computer 2 which has WinXP.

On computer 1 which is directly connected to the internet socket I can see other computers names and different workgroup's in Network Neighbourhood and even connect to them if I have the password and the username.

On computer 2 which is connected to computer 1 I can only see computer 1 in network neighborhood. Although by typing in IP address I can also connect to other computers in this resident hall. But if a type the DNS name of the computer it will not resolve.

Is it possible that on computer 2 I would also see other computers when I click on network neighborhood or at lest would be able to connect to them by typing in a DNS address.


#2 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 03 November 2007 - 05:21 PM

i think for this you would need a static routes in place to be able to route the traffic between the 2 subnets as it were. What are the ip address's of your 2 computers? or the ranges you are working with at least?

#3 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 11 November 2007 - 10:37 AM

they are 192.168.0.x with subnet 255.255.255.0.
The subnet that connects to the router is
255.255.255.128

How would this static routing work? And how come I can connect to those other computer thru IP address but not from their NETBIOS name.

ps. Should I set up WINS on the server'

This post has been edited by BigDaddy: 11 November 2007 - 10:39 AM


#4 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 04 December 2007 - 09:37 AM

*

#5 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 04 December 2007 - 01:17 PM

what are the 2 IPs that the win2k3 box has? and what is the IP of the XP box?

#6 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 04 December 2007 - 01:33 PM

Ethernet adapter Switch:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.0.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : sd.uni-lj.si
   IP Address. . . . . . . . . . . . : 88.200.110.x
   Subnet Mask . . . . . . . . . . . : 255.255.255.128
   Default Gateway . . . . . . . . . : 88.200.110.129


192.168.0.0 is where my WinXP machine is located and its IP is 192.168.0.2.

This post has been edited by BigDaddy: 05 December 2007 - 01:02 AM


#7 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 04 December 2007 - 05:06 PM

ah, i presumed that a router would be between you and the internet. if you ping another client pc by hostname, what is the IP address that it returns? there must be some other device between you and the internet, maybe a router with fully featured NAT or something?

what DNS Servers do the 2 machines have? the same? or different?
do you know how to use nslookup? if so that could help track down name resolution problems too. let us know and we will go from there :)

This post has been edited by eyeball: 04 December 2007 - 05:13 PM


#8 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 05 December 2007 - 01:25 AM

View Posteyeball, on Dec 5 2007, 12:06 AM, said:

if you ping another client pc by hostname, what is the IP address that it returns?

if I ping hostname 'leab' I receive:
88.200.110.x

Quote

there must be some other device between you and the internet, maybe a router with fully featured NAT or something?

I think so too.

Quote

what DNS Servers do the 2 machines have? the same? or different?

I will output the IPCONFIG /all command
Windows IP Configuration

   Host Name . . . . . . . . . . . . : ashrack
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : sd.uni-lj.si

Ethernet adapter Switch:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/100+ Management Ada
   Physical Address. . . . . . . . . : 00-D0-B7-0C-2C-D4
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.0.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : sd.uni-lj.si
   Description . . . . . . . . . . . : CNet PRO200 PCI Fast Ethernet Ad
   Physical Address. . . . . . . . . : 00-11-2F-B5-BA-13
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IP Address. . . . . . . . . . . . : 88.200.110.x
   Subnet Mask . . . . . . . . . . . : 255.255.255.128
   Default Gateway . . . . . . . . . : 88.200.110.129
   DHCP Server . . . . . . . . . . . : 212.235.170.162
   DNS Servers . . . . . . . . . . . : 193.2.115.2
									   193.2.115.190
									   193.2.1.66
									   193.2.64.45
   Lease Obtained. . . . . . . . . . : 5. december 2007 8:19:58
   Lease Expires . . . . . . . . . . : 6. december 2007 8:19:58

Quote

do you know how to use nslookup?

haven't a clue about nslookup

#9 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 05 December 2007 - 02:42 AM

ok that gives me a lot more information :)

i think we need to create a set of static routes to tell the win2k3 server what to do with traffic destined for the other subnet.

you will something like...

Route add 88.200.110.0 MASK 255.255.255.128 88.200.111.xxx (IF 2)

Route add 192.168.0.0 MASK 255.255.255.0 192.168.0.1 (IF 1)

replace XXX with your external IP
first try the routes without the "IF part",
and also excuse me if it is wrong, i havent used static routes in a long while and im in a rush to get off to work whilst typing this :)
take care

EDIT : if i telnet to the IP of your gateway it does prompt me for a password so it must be a router of some sort. i think you must be on an internet facing network, each using fully featured NAT to get an IP.

how do you plug your w2k server to the internet? Do they just provide you with an Rj45 socket to plug into?

This post has been edited by eyeball: 05 December 2007 - 07:10 AM


#10 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 08 February 2008 - 08:54 AM

sorry for not replying sooner had midterms.

Any way your route add table worked somewhat.
On the client machine I can now see some of the computers but I can't connect to them nor can I ping them because it says the host is unavailable. But I can ping them or connect to them on the server itself.

So we are on a good road just something is still missing.

My W2k3 server is connected to the RJ45 socket located in my room.

here's the new 'route print'
IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 d0 b7 0c 2c d4 ...... Intel(R) PRO/100+ Management Adapter
0x10004 ...00 11 2f b5 ba 13 ...... CNet PRO200 PCI Fast Ethernet Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination		Netmask		  Gateway	   Interface  Metric
		  0.0.0.0		  0.0.0.0   88.200.110.129   88.200.110.154	 20
	 88.200.110.0  255.255.255.128   88.200.110.154   88.200.110.154	  1
   88.200.110.128  255.255.255.128   88.200.110.154   88.200.110.154	 20
   88.200.110.154  255.255.255.255		127.0.0.1		127.0.0.1	 20
   88.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	 20
		127.0.0.0		255.0.0.0		127.0.0.1		127.0.0.1	  1
	  192.168.0.0	255.255.255.0	  192.168.0.1	  192.168.0.1	  1
	  192.168.0.1  255.255.255.255		127.0.0.1		127.0.0.1	 20
	192.168.0.255  255.255.255.255	  192.168.0.1	  192.168.0.1	 20
		224.0.0.0		240.0.0.0   88.200.110.154   88.200.110.154	 20
		224.0.0.0		240.0.0.0	  192.168.0.1	  192.168.0.1	 20
  255.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	  1
  255.255.255.255  255.255.255.255	  192.168.0.1	  192.168.0.1	  1
Default Gateway:	88.200.110.129
===========================================================================
Persistent Routes:
  None


thank you

#11 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 08 February 2008 - 02:40 PM

what is 88.200.110.128?
also do another route print but remove all static routes and everything we have added first so i can see what the default config should be i almost have this figured out i think,
cheers :)

#12 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 09 February 2008 - 06:47 AM

I don't know what 88.200.110.128 is. And if I ping it it says the destination is invalid.
And also when I deleted it from the ROUTE table there was no ill efects.

Restarted the server and this is the basic ROUTE TABLE
 Active Routes:
Network Destination		Netmask		  Gateway	   Interface  Metric
		  0.0.0.0		  0.0.0.0   88.200.110.129   88.200.110.154	 20
   88.200.110.128  255.255.255.128   88.200.110.154   88.200.110.154	 20
   88.200.110.154  255.255.255.255		127.0.0.1		127.0.0.1	 20
   88.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	 20
		127.0.0.0		255.0.0.0		127.0.0.1		127.0.0.1	  1
	  192.168.0.0	255.255.255.0	  192.168.0.1	  192.168.0.1	 20
	  192.168.0.1  255.255.255.255		127.0.0.1		127.0.0.1	 20
	192.168.0.255  255.255.255.255	  192.168.0.1	  192.168.0.1	 20
		224.0.0.0		240.0.0.0   88.200.110.154   88.200.110.154	 20
		224.0.0.0		240.0.0.0	  192.168.0.1	  192.168.0.1	 20
  255.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	  1
  255.255.255.255  255.255.255.255	  192.168.0.1	  192.168.0.1	  1
Default Gateway:	88.200.110.129


And this is the route table when I add those 2 entries you suggested:
 Route add 192.168.0.0 MASK 255.255.255.0 192.168.0.1
Route add 88.200.110.0 MASK 255.255.255.128 88.200.110.154
 
Active Routes:
Network Destination		Netmask		  Gateway	   Interface  Metric
		  0.0.0.0		  0.0.0.0   88.200.110.129   88.200.110.154	 20
	 88.200.110.0  255.255.255.128   88.200.110.154   88.200.110.154	  1
   88.200.110.128  255.255.255.128   88.200.110.154   88.200.110.154	 20
   88.200.110.154  255.255.255.255		127.0.0.1		127.0.0.1	 20
   88.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	 20
		127.0.0.0		255.0.0.0		127.0.0.1		127.0.0.1	  1
	  192.168.0.0	255.255.255.0	  192.168.0.1	  192.168.0.1	 20
	  192.168.0.1  255.255.255.255		127.0.0.1		127.0.0.1	 20
	192.168.0.255  255.255.255.255	  192.168.0.1	  192.168.0.1	 20
		224.0.0.0		240.0.0.0   88.200.110.154   88.200.110.154	 20
		224.0.0.0		240.0.0.0	  192.168.0.1	  192.168.0.1	 20
  255.255.255.255  255.255.255.255   88.200.110.154   88.200.110.154	  1
  255.255.255.255  255.255.255.255	  192.168.0.1	  192.168.0.1	  1
Default Gateway:	88.200.110.129

And my IP is 88.200.110.154

edit: Forgot to mention this but I can connect to other computer from the Windows XP machine thru their IP numbers just not by their DNS name. How come?

This post has been edited by BigDaddy: 09 February 2008 - 07:37 AM


#13 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 10 February 2008 - 06:06 AM

hmm, if you can connect to them by IP not name then that would suggest that the 2 routes we put in are working.
Can your w2k3 box resolve the other pc's hostnames? if so then i think that the DNS server that it has should also be the DNS server that the xp box has.
Try that and lets see what happens :)

This post has been edited by eyeball: 10 February 2008 - 06:11 AM


#14 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 10 February 2008 - 01:59 PM

Quote

hmm, if you can connect to them by IP not name then that would suggest that the 2 routes we put in are working.

this has been working prior to adding those routes. I jmentioned this in my original post. That is way I put the name of the thread 'Can't resolve DNS'.

Quote

Can your w2k3 box resolve the other pc's hostnames?

yes

Quote

if so then i think that the DNS server that it has should also be the DNS server that the xp box has.

I am using DNS server service on W2k3 box. So my DNS for client machine is 192.168.0.1 (servers IP).
I did try manually adding DNS servers to XP box but it doesn't help.

This post has been edited by BigDaddy: 10 February 2008 - 02:02 PM


#15 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 10 February 2008 - 02:13 PM

sorry lol been a long while since this post started, ok so your w2k3 server has DNS on it, if the XP Pc is using it for DNS then as long as there is a cahced entry for the pc in question you will be able to ping by name.

try pinging or connecting to a pc from the server and resolving its name, once done (with the w2k3 box as the dns server for the xp one) do the same from the XP machine and i cannot see why it would not work, providing that those routes are in place

This post has been edited by eyeball: 10 February 2008 - 02:13 PM


#16 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 10 February 2008 - 02:23 PM

it does not work. Could my DNS server be setup wrong?
I have entries under the CACHE in the DNS Configuration screen. But those entries are for web pages only.

#17 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 10 February 2008 - 03:44 PM

so if you resolve a name on your win2k3 server and type ipconfig /displaydns you see the pcs listed that you have resolved? and yet your XP box cannot resolve these names even with the win2k3 server as its dns server?
is this correct?

#18 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 10 February 2008 - 04:34 PM

Quote

so if you resolve a name on your win2k3 server and type ipconfig /displaydns you see the pcs listed that you have resolved?

no I do not.

this is what I did on the W2k3 box:
ipconfig /flushdns
then I accessed '\\acer-travelmate' and click on some of his folders and also pinged it by its dns name which gave me the IP '88.200.110.xxx'

then I did
ipconfig /displaydns
and this is the output:
Windows IP Configuration

	1.0.0.127.in-addr.arpa
	----------------------------------------
	Record Name . . . . . : 1.0.0.127.in-addr.arpa.
	Record Type . . . . . : 12
	Time To Live  . . . . : 482949
	Data Length . . . . . : 4
	Section . . . . . . . : Answer
	PTR Record  . . . . . : localhost


	tomi									// the name of my WinXP box
	----------------------------------------
	Record Name . . . . . : tomi
	Record Type . . . . . : 1
	Time To Live  . . . . : 482949
	Data Length . . . . . : 4
	Section . . . . . . . : Answer
	A (Host) Record . . . : 192.168.0.2


	acer-travelmate
	----------------------------------------
	Name does not exist.


	2.0.168.192.in-addr.arpa
	----------------------------------------
	Record Name . . . . . : 2.0.168.192.in-addr.arpa.
	Record Type . . . . . : 12
	Time To Live  . . . . : 482949
	Data Length . . . . . : 4
	Section . . . . . . . : Answer
	PTR Record  . . . . . : tomi


	
	localhost
	----------------------------------------
	Record Name . . . . . : localhost
	Record Type . . . . . : 1
	Time To Live  . . . . : 482949
	Data Length . . . . . : 4
	Section . . . . . . . : Answer
	A (Host) Record . . . : 127.0.0.1

This post has been edited by BigDaddy: 10 February 2008 - 04:37 PM


#19 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 10 February 2008 - 06:05 PM

its not caching like it should, i wonder why? Does anyone know why?
maybe its something to do with the security of 2003? if the XP box were in its place i wonder if it would behave the same?

#20 User is offline   BigDaddy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 04-November 03

Posted 11 February 2008 - 01:39 AM

I added a laptop, JONSON, to my LAN and pinged it from WinXP machine and also accessed its shared drives. And then launched
'ipconfig displaydns'

and there was no mention of such computer.

But when I pinged and accessed the same computer on W2k3 server 'ipconfig displaydns' just said:

Quote

jonson
----------------------------------------
Name does not exist.


what else can I do?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy