Jump to content

Can't resolve DNS


BigDaddy

Recommended Posts

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.

Link to comment
Share on other sites


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'

Edited by BigDaddy
Link to comment
Share on other sites

  • 4 weeks later...

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.

Edited by BigDaddy
Link to comment
Share on other sites

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 :)

Edited by eyeball
Link to comment
Share on other sites

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

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

I think so too.

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

do you know how to use nslookup?

haven't a clue about nslookup

Link to comment
Share on other sites

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?

Edited by eyeball
Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

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?

Edited by BigDaddy
Link to comment
Share on other sites

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 :)

Edited by eyeball
Link to comment
Share on other sites

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'.

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

yes

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.

Edited by BigDaddy
Link to comment
Share on other sites

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

Edited by eyeball
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...