로딩
티스토리 데이터 처리 중입니다.

[Linux] 우분투에서 DNS 캐시 조회 및 삭제하기

 [Linux] 우분투에서 DNS 캐시 조회 및 삭제하기

우분투에서 DNS 캐시를 조회하고 삭제하는 명령어를 알아보겠습니다. DNS 캐시 조회 DNS 캐시는 다음과 같이 systemd-resolve 명령어를 사용하면 됩니다.

Current Cache Size가 현재 캐싱되어 있는 있는 DNS 캐시라고 보시면 됩니다. $ sudo systemd-resolve --statistics DNSSEC supported by current servers: no Transactions Current Transactions: 0 Total Transactions: 363864 Cache Current Cache Size: 420 Cache Hits: 163212 Cache Misses: 201095 DNSSEC Verdicts Secure: 0 Insecure: 0 Bogu.....