반응형
리눅스 환경에서 서버 dns(/etc/resolv.conf) 설정이 안되어 있는 경우,
nslookup 으로 도메인 조회시 실행이 안되는 현상이 발생할 경우가 있습니다.
이럴경우 아래와 같이 도메인과 dns ip를 함께 사용하여 명령어를 실행해야 합니다.
* nslookup [도메인] [dns 서버 ip]
$ nslookup test.com 123.123.123.123
반응형
'Server > Linux' 카테고리의 다른 글
| [Linux] nohup: ignoriing input and redirecting stderr to stdout (0) | 2024.08.21 |
|---|---|
| [Linux] swap 비활성화 (0) | 2024.08.19 |
| [Linux] sftp로 파일 업로드시 umask 참조 (0) | 2024.08.15 |
| [Linux] umount: target is busy (0) | 2024.08.15 |
| [Linux] for문을 활용한 디렉토리별 용량 확인 (0) | 2024.04.20 |