Deependra B. Tandukar posted:
>When I give the command nslookup, it gives the domainname and IP. While give
>the command host it shows hostname but when give the command domainname it
>gives blank line. Can anybody help to trace out the problem?
Issuing nslookup without anything results in nslookup being placed into
interactive mode. There is no way that it gives the domain name and IP.
The host command requires the name of a host. If you don't give it any
arguments, it prints out the syntax, i.e., help. And domainname is used to
report the domain name that NIS/YP needs. If you aren't running NIS/YP, it
is ok that it is blank.
Did you read the man pages for each of the commands?
In other words, looks right to me.
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to eliminate the competition. Bart: You mean like
Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list