Carey Duran <cduran@harscotrack.com> wrote:
“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:8qvq15$a5c$> 1@nntp.qnx.com> …
Carey Duran <> cduran@harscotrack.com> > wrote:
Currently I have the RTP set up to use DHCP to get an IP address from
some
server that our IT department controls. Given the the propensity of our
corporate environment to use the “tried and true” sighs Microsoft
products
it is probably an NT box.
It gives me an IP address all right… however I can’t seem to get it to
link up my hostname to the IP address that they gave me. So any
‘nslookup’
doesn’t let me talk to the box.
What might I be doing wrong… Or is this a bug on the server side?
After you boot RTP, do a “getconf CS_RESOLVE” see if you get a resolver.
If so, you probably OK to ping/telnet other boxes with name.
If you don’t have one, more likely your NT didn’t setup to give you
a DNS. You might be staticly add it by running phlip.
nslookup is another issue. It ONLY using /etc/resolv.conf to find
it’s own resolver. As we by default, don’t create that file, nslookup
won’t success anyway. (you need to create that file yourself if you
want to use nslookup).
‘getconf CS_RESOLVE’ yields:
lookup_file_bind
nameserver_10.30.16.1
Which appears correct.
My ‘/etc/resolv.conf’ file looks like:
domain fmttmpr.harsco.com
nameserver 10.30.16.1
Which appears correct as well.
So for start, can you “ping 10.30.16.1” from RTP box?
If you do “nslookup”, is it saying “server 10.30.16.1” ?
My Windows partition can register it’s name. And I can ping it by name from
QNX (RTP and 4.25) but the 4.25 and RTP guys can’t/aren’t register their
names.
I don’t now what you mean “register name”.
Are you saying on the RTP box, you could “ping name_of_my_windows”, but
from windows, you can’t “ping name_of_my_rtp” ?
Since your RTP is a dhcp client, are you sure you know the right name?
And if you can’t ping RTP from windows, that’s problem in windows/DNS
server. Can you “ping ip_of_my_rtp” from windows?
This is looking more like a server problem to me as I get deeper into it. If
there aren’t any more suggestions, is there a way of getting around this by
running my own name server and passing on the unknown request to the “real”
server.
I don’t think named is shipped. You can start named on 4.25 box though,
make it a “cache only” server.
-xtang