1831967 Members
3227 Online
110034 Solutions
New Discussion

resolv.conf

 
SOLVED
Go to solution
Norman_21
Honored Contributor

resolv.conf

Hi guys,

The file resolv.conf was not under /etc and hence wasn't used. However, after I created the file under /etc with the required input the error msg " unable to qualify my own domain has gone". 5 hours later, I've been informed that remote servers can not login remotely. Could anyone advise how can the resolv.conf prevent the remote user from login!! or is there any other file that could be the problem!!
thanks.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
6 REPLIES 6
John Poff
Honored Contributor

Re: resolv.conf

Hi,

What does your /etc/resolv.conf look like?

JP
U.SivaKumar_2
Honored Contributor

Re: resolv.conf

Hi,
Does removing the resolv.conf solve the login problem ?

please elaborate on login problem

regards,
U.SivaKumar
Innovations are made when conventions are broken
Norman_21
Honored Contributor

Re: resolv.conf

Hi guys,

When I renamed the resolv.conf, it did solve the remote login issue but I got the error msg back " unable to qualify my own domain"..

Sample of my resolv.conf
search my hostname
nameserver myserveripaddress
search CORPDNS
nameserver CORPDNSipaddress

I'd appreciate your feed back.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
T G Manikandan
Honored Contributor
Solution

Re: resolv.conf

If you want to take of the message "Unable to qualify domain name" Just make sure that your /etc/hosts look like


hostname.com

OR
.

check that hostname and a Dot

Thanks
Norman_21
Honored Contributor

Re: resolv.conf

Hi again,

the file nsswitch.conf is not available under /etc , however
I have attached a sample of another file nsswitch.nis, please check the contents of the file and let me know if I should make any changes. Also, is this why the users could not login remotely before I remove the /etc/resolv.conf. Is it the case that if the
/etc/resolv.conf is available and the /etc/nsswitch.conf is not available, the /etc/hosts file will be ignored. If yes, I beleive that was the problem.
I still need some thoughts.
Thnx.
Please check attachment for sample of my nsswitch.nis.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: resolv.conf

resolv.conf file wasn't needed so I removed it.
T.G suggesstion worked!

the DOT is very important in the hosts file.

"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003