일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Mac
- TORCH
- Linux
- file
- Laravel
- Database
- git
- judge
- enV
- pytorch
- PostgreSQL
- KAKAO
- Windows
- Container
- GitLab
- Package
- DB
- pandas
- Flask
- CUDA
- evaluation
- AI
- LLM
- format
- Paper
- docker
- Converting
- list
- Python
- numpy
Archives
- Today
- Total
Daily Develope
[Linux] Ubuntu DNS Nameserver 설정 본문
임시적용
특징 : 임시적용이기 때문에 재부팅이나 resolvconf 서비스를 재시작 하는 경우 해당 파일에 설정된 정보가 초기화
적용방법 : /etc/resolv.conf 파일 수정
nameserver 8.8.8.8 # Google Nameserver
nameserver 8.8.4.4 # Google Nameserver
영구적용
특징 : 시스템 재부팅 이후에도 지속 유지
적용절차
/etc/resolvconf/resolv.conf.d/head 파일 수정
nameserver 8.8.8.8 # Google Nameserver nameserver 8.8.4.4 # Google Nameserver
서비스 재시작
systemctl restart resolvconf.service
서비스 재시작 후, /etc/resolv.conf 파일을 확인하면 head의 내용이 반영된 것을 확인 가능
'OS > Linux' 카테고리의 다른 글
[Linux] UFW 설정 및 사용법 (0) | 2024.09.25 |
---|---|
[Linux] CentOS repository 설정 (0) | 2024.04.30 |
[Linux] openssl 수동 업데이트 / 설치 (0) | 2024.04.30 |
[Linux] 패키지 저장소 정리 (0) | 2023.09.05 |
[Linux] tar 압축 / 압축 해제 (0) | 2023.03.15 |