Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/etc/nsswitch.conf

Status
Not open for further replies.

ToolChild

IS-IT--Management
Sep 25, 2000
8
0
0
US
I have nis master configured on my machine running Solaris 8, and when looking in /etc/nsswitch.conf which I copied from /etc/nsswitch.nis, I see I have no entries for dns next to hosts. I only have nis next to hosts. My question is how am i able to connect to internet if I have only nis entry next to hosts.????
 
DNS information is stored under /etc/resolv.conf

Put "dns" infront of "nis" and "files" of the "hosts" line.
 
I mean, that I am already able to resolve names to the internet without having the dns entry in the "hosts" field of the nsswitch.conf file. So, what in my system is telling my applications to look in the resolv.conf file for dns resolutions when I have not specified to do so?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top