DNS기능은 /etc/hosts 파일을 최초 참조하고
작동하지 않는 사항에 대해서는 /etc/nsswitch.conf 를 참조한다, 이때 모든 상황에서 file 을 참조하게 한뒤 서비스,설치 프로세스를 재시작 하는방법으로 해결 가능
=========================
파일을
참조하게 하는 nsswitch.conf 설정
#
/etc/nsswitch.files:
#
# An
example file that could be copied over to /etc/nsswitch.conf;
# it does
not use any naming service.
#
#
"hosts:" and "services:" in this file are used only if the
#
/etc/netconfig file contains "switch.so" as a
#
nametoaddr library for "inet" transports.
passwd: files
group: files
hosts: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At
present there isn't a 'files' backend for netgroup; the
# system
will figure it out pretty quickly,
# and
won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
=========================
댓글 없음:
댓글 쓰기