Cara mengatur OpenDNS atau Google DNS di macOS
Di macOS Anda mengatur DNS per layanan jaringan (Wi‑Fi atau Ethernet) di System Settings.
Mengapa mengubah DNS di Mac?
Ketika Safari atau Chrome tidak dapat me-resolve domain yang berfungsi di data seluler iPhone, DNS Wi‑Fi Mac biasanya tersangka utamanya.
Server DNS publik yang direkomendasikan
- OpenDNS (Cisco): 208.67.222.222 / 208.67.220.220
- Google Public DNS: 8.8.8.8 / 8.8.4.4
- Cloudflare DNS: 1.1.1.1 / 1.0.0.1
Konfigurasi DNS di macOS (Ventura dan lebih baru)
- Buka System Settings → Network.
- Pilih Wi‑Fi atau Ethernet, lalu klik Details…
- Buka tab DNS.
- Klik + di bawah DNS Servers dan tambahkan 208.67.222.222 dan 208.67.220.220 (OpenDNS) atau 8.8.8.8 dan 8.8.4.4 (Google).
- Hapus atau abaikan entri DHCP abu-abu setelah server kustom Anda terdaftar.
- Klik OK, lalu Apply.
Flush cache DNS di macOS
Hapus cache DNS sistem setelah mengubah server.
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Buka Terminal (Applications → Utilities).
- Jalankan: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Masukkan kata sandi Mac saat diminta (tidak ada yang muncul saat Anda mengetik).
- Muat ulang situs di browser.
Verifikasi berhasil
Jika masih gagal, lupakan jaringan Wi‑Fi dan sambungkan kembali, atau atur DNS di router untuk semua perangkat Apple sekaligus.
Panduan DNS terkait
- Cara mengatur OpenDNS atau Google DNS di Windows 11
- Cara mengatur OpenDNS atau Google DNS di Windows 10
- Cara mengatur OpenDNS atau Google DNS di Windows 8
- Cara mengatur OpenDNS atau Google DNS di Windows 7
- Cara mengatur OpenDNS atau Google DNS di Windows Vista
- Cara mengatur OpenDNS atau Google DNS di Windows XP
- Cara mengatur OpenDNS atau Google DNS di Ubuntu / Debian
- Cara mengatur OpenDNS atau Google DNS di Fedora / RHEL
- Cara mengatur OpenDNS atau Google DNS di Android
- Cara mengatur OpenDNS atau Google DNS di iPhone & iPad
- Cara mengatur OpenDNS atau Google DNS di ChromeOS
- Cara mengatur OpenDNS atau Google DNS di router