>> Edit article
이름
제목
패스워드
: /etc/nsswitch.conf 파일 좀 올려봐 주시겠어요? : : : : 레드햇 7.1을 깔고 처음에 NFS데몬을 띄우지 않으면 제 컴에서 : : 외부의 컴퓨터로 ping, telnet, ftp 등을 할 때 다 잘 되는데요 : : NFS 데몬을 띄우면 외부로 ping, telnet 등등을 도메인 이름으로 치면 : : 다 안 됩니다. unknown host to route라고 에러 나옴. : : 단 /etc/hosts파일에 이름을 써 놓으면 이름으로 ping 되고요. : : 그런데 ip로 외부로 접속하면 다 잘되고요. : : /etc/resolv.conf에 네임서버 ip 잘 들어가 있고요. : : 네임서버 ip로 ping 때리면 응답 잘 합니다. : : /etc/host.conf는 : : order hosts,bind : : multi on : : 들어가 있고요. : : 어디를 만져야 할지 몰라서 미치겠네요~~ : : 도와주세요~~~ : : -- : 껌을 씹을 때는 조용히... [root@node1 /root]# more /etc/nsswitch.conf # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # nisplus or nis+ Use NIS+ (NIS version 3) # nis or yp Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # db Use the local database (.db) files # compat Use NIS on compat mode # hesiod Use Hesiod for user lookups # [NOTFOUND=return] Stop searching if not found so far # # To use db, put the "db" in front of "files" for entries you want to be # looked up first in the databases # # Example: #passwd: db files nisplus nis #shadow: db files nisplus nis #group: db files nisplus nis passwd: files nisplus shadow: files nisplus group: files nisplus #hosts: db files nisplus nis dns hosts: files nisplus dns # Example - obey only what nisplus tells us... #services: nisplus [NOTFOUND=return] files #networks: nisplus [NOTFOUND=return] files #protocols: nisplus [NOTFOUND=return] files #rpc: nisplus [NOTFOUND=return] files #ethers: nisplus [NOTFOUND=return] files #netmasks: nisplus [NOTFOUND=return] files bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files nisplus rpc: files services: files nisplus netgroup: files nisplus publickey: nisplus automount: files nisplus aliases: files nisplus
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved