Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nslookup - help.

0 views
Skip to first unread message

Ashley_E...@rush.edu

unread,
Mar 2, 2001, 11:58:54 AM3/2/01
to


Hello,

when using nslookup on one of the DNS servers here I can type for example
test1.test and nslookup gives the response I am looking for - and automatically
adds on to the end the last two segments rpslmc.edu - I don't have to. On
another DNS machine here this is not happening. When I type in test1.test -
nslookup states it can't find test1.test. :NXDOMAIN. I guess I do not
understand where nslookup pulls the last two segments in the host name from (in
this case rpslmc.edu). Strange that it works on one machine and not the other
since they are using the same software?

Ideas?

Thanks in advance.

Ashley Andrews


Lisa Burke

unread,
Mar 2, 2001, 12:23:56 PM3/2/01
to

Ashley -

Your OS is probably appending the domain to the hostname. On Solaris that's
defined in the /etc/resolv.conf. Any host it encounters that isn't a FQDN
(fully qualified domain name), will get that appended.

Regards,

-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Lisa Burke
Unix Systems Administrator
http://www.once.com
mailto:lbu...@once.com
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-

Ashley_E...@rush.edu

unread,
Mar 2, 2001, 12:41:32 PM3/2/01
to


Thanks Lisa, I feel like the problem is somewhere in there. I check the
resolv.conf files on both machines and they are set the same way (machines are
in different zones), yet respond differently to the same query. It is very
strange, I am not sure what to make of it.

|--------+----------------------->
| | Lisa Burke |
| | <lburke@once.|
| | com> |
| | |
| | 03/02/2001 |
| | 11:12 AM |
| | |
|--------+----------------------->
>--------------------------------------------------------|
| |
| To: "'bind-...@isc.org'" |
| <bind-...@isc.org> |
| cc: (bcc: Ashley E Andrews/Rush/RSH) |
| Subject: RE: nslookup - help. |
>--------------------------------------------------------|

Gerald Waugh

unread,
Mar 2, 2001, 1:31:50 PM3/2/01
to

> Hello,
>
> when using nslookup on one of the DNS servers here I can type for example
> test1.test and nslookup gives the response I am looking for - and
> automatically
> adds on to the end the last two segments rpslmc.edu - I don't have to. On
> another DNS machine here this is not happening. When I type in
test1.test -
> nslookup states it can't find test1.test. :NXDOMAIN. I guess I do not
> understand where nslookup pulls the last two segments in the host name
from
> (in
> this case rpslmc.edu). Strange that it works on one machine and not the
> other
> since they are using the same software?
>
> Ideas?
>
It may be that the reverse lookup is not working, for the IP.
nslookup will not work if it can't do both reverse and froward lookups.
Check your in-addr.arpa zone file.
Also, try 'dig'.
Gerald

Ashley_E...@rush.edu

unread,
Mar 2, 2001, 2:26:10 PM3/2/01
to


Gerald,
Thanks for the information, I think you may be on to something. I am not very
familiar with the 'dig' command, however when I use it against the reverse
address it does not resolve? As far as I can tell, I think the reverse tables
are set up correctly - is there a particular way I could tell?

Thanks again,

|--------+----------------------->
| | "Gerald |
| | Waugh" |
| | <gerald@waugh|
| | .com> |
| | |
| | 03/02/2001 |
| | 01:23 PM |
| | |
|--------+----------------------->
>--------------------------------------------------------|
| |
| To: Ashley E Andrews/Rush/RSH@RSH, "Lisa |
| Burke" <lbu...@once.com> |
| cc: bind-...@isc.org |
| Subject: Re: nslookup - help. |
>--------------------------------------------------------|

0 new messages