SuSE 15 업그레이드 진행후 재부팅 했는데.. 어라.. 서비스 가동이 않됨...
로그를 보니.. domain 에러가 나네...
뭐지.. 찾다가.. /etc/resolv.conf 내용이 없어 졌어.. ㅡㅡ;
거기다가 resolv.conf 파일에 링크가 걸려 있네... 뭐가 어떻게 된건지...
우리 구글님에게.. 물어보면 또나오지..
"SuSE 15 resolv.conf DNS empty"
https://www.suse.com/support/kb/doc/?id=000021579
After upgrading from SLES12SP5 to SLES15SP5, a DNS entry...
www.suse.com
SuSE 12때부터 그랬다는데.. SuSE 12 올릴때는 않나왔는데..
어찌됐던..
SuSE 12 SP5 부터 resolve.conf 파일 설정하는 config가 생겼네요..
/etc/sysconfig/network/config 파일에 DNS 설정을 해두면, 재부팅하면서 config 파일에 있는 내용으로 변경한다네요..
재부팅 하기 싫으면 netconfig update -f 명령어로 바로 적용 할 수도 있어요.
추가적으로 search 부분 등록하는 항목도 있어요.
Add your desired DNS server ip address in /etc/sysconfig/network/config with the line:
NETCONFIG_DNS_STATIC_SERVERS="x.x.x.x y.y.y.y"
Add your DNS domain name for host-name lookup in /etc/sysconfig/network/config with the line:
NETCONFIG_DNS_STATIC_SEARCHLIST="test.biz"
After changing the configuration, using the following command to refresh and update the configuration:
netconfig update -f
'WORK-LIFE > Linux' 카테고리의 다른 글
[SuSE] SuSE 15 net-tools-deprecated (0) | 2024.10.22 |
---|---|
[Redhat] 저널(journal) 로그 관리 (0) | 2024.07.08 |
[SuSE15] vmtoolsd VS vmware-tools (0) | 2024.05.21 |
[Linux] /etc/environment 파일 설정 (0) | 2024.04.24 |
[Linux] while문 사용하기 (0) | 2024.02.20 |