Can't resolve DNS
#1
Posted 03 November 2007 - 03:06 AM
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
Posted 03 November 2007 - 05:21 PM
#3
Posted 11 November 2007 - 10:37 AM
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
#5
Posted 04 December 2007 - 01:17 PM
#6
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
Posted 04 December 2007 - 05:06 PM
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
Posted 05 December 2007 - 01:25 AM
eyeball, on Dec 5 2007, 12:06 AM, said:
if I ping hostname 'leab' I receive:
88.200.110.x
Quote
I think so too.
Quote
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
haven't a clue about nslookup
#9
Posted 05 December 2007 - 02:42 AM
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
Posted 08 February 2008 - 08:54 AM
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
Posted 08 February 2008 - 02:40 PM
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
Posted 09 February 2008 - 06:47 AM
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
Posted 10 February 2008 - 06:06 AM
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
Posted 10 February 2008 - 01:59 PM
Quote
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
yes
Quote
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
Posted 10 February 2008 - 02:13 PM
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
Posted 10 February 2008 - 02:23 PM
I have entries under the CACHE in the DNS Configuration screen. But those entries are for web pages only.
#17
Posted 10 February 2008 - 03:44 PM
is this correct?
#18
Posted 10 February 2008 - 04:34 PM
Quote
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
Posted 10 February 2008 - 06:05 PM
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
Posted 11 February 2008 - 01:39 AM
'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
----------------------------------------
Name does not exist.
what else can I do?



Help


Back to top








