DEV Community

웹학교
웹학교

Posted on

도메인 네임서버 변경후 계속 이전 서버에 연결될 때

인터넷 서비스를 하다가 호스팅을 이전하고 도메인 네임서버를 변경했는데
계속 이전 서버를 찾아갈 때 DNS Flush 방법입니다.

네임서버를 변경해도 최대 48시간까지 캐쉬가 갱신되지 않아 이전 서버를 찾아갈 수 있습니다.

Windows 운영체제인 경우

  1. 시작 버튼의 실행에서 'cmd'를 입력하여 터미널 모드로 들어갑니다.
  2. 명령 프롬프트가 나타나면 'ipconfig/flushdns'를 입력후 엔터합니다.

macOS

터미널에서

macOS Mojave (모하비)

  1. sudo killall -HUP mDNSResponder; sleep 2;
  2. macOS 비밀번호 입력

macOS High Sierra (하이시에라)

  1. sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset | say
  2. macOS 비밀번호 입력

macOS Sierra (시에라)

  1. sudo killall -HUP mDNSResponder;say DNS cache has been flushed
  2. macOS 비밀번호 입력

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay