AI Insights
Generate a summary and suggested tags for this post.
DNS (Domain Name System) adalah yang menerjemahkan google.com jadi 142.250.x.x. Kalau DNS lemot, semua koneksi terasa lemot walau bandwidth kenceng. Di MikroTik kamu bisa set DNS server sekaligus jadikan MikroTik sebagai DNS cache buat semua client LAN.

Kenapa Perlu Setting DNS Manual?
- DNS ISP sering lambat/di-filter
- DNS cache di MikroTik mempercepat resolusi berulang
- Client LAN cukup pakai IP MikroTik sebagai DNS
- Ada opsi block domain lewat DNS static
Pilihan DNS Populer

| Provider | Primary | Secondary | Kelebihan |
|---|---|---|---|
| 8.8.8.8 | 8.8.4.4 | Stabil global | |
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Tercepat + privacy |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Blokir malware |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Filter konten |
Langkah Setting DNS

1. Buka IP → DNS
- Servers:
1.1.1.1, 8.8.8.8(bisa multiple) - Allow Remote Requests: ✅ centang (biar client LAN bisa pakai MikroTik sebagai DNS)
- Max UDP Packet Size:
4096 - Cache Size:
2048 KiB
Klik Apply.
2. Verifikasi via Terminal
/ip dns print
Test resolve:
:put [:resolve "google.com"]
3. Setting DHCP Server ke Arah DNS MikroTik
Di IP → DHCP Server → Networks, set:
- DNS Servers:
192.168.1.1(IP MikroTik)
Sekarang semua client LAN otomatis pakai MikroTik sebagai DNS resolver.
Firewall Warning
Kalau Allow Remote Requests aktif tanpa firewall, MikroTik bisa dijadikan DNS amplifier attack. Wajib blokir port 53 dari WAN:
/ip firewall filter add chain=input in-interface=ether1 protocol=udp dst-port=53 action=drop
/ip firewall filter add chain=input in-interface=ether1 protocol=tcp dst-port=53 action=dropStatic DNS (Block/Redirect)
Contoh block facebook.com:
/ip dns static add name=facebook.com address=127.0.0.1
/ip dns static add name=www.facebook.com address=127.0.0.1Kesimpulan
Setting DNS di MikroTik cuma butuh 2 langkah: isi server DNS + allow remote requests. Manfaatnya besar: browsing cepat, ada cache, dan client LAN cukup pakai 1 IP DNS.
Jangan lupa lindungi port 53 dari WAN supaya tidak jadi target attack.
