> For the complete documentation index, see [llms.txt](https://shinigami-1.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shinigami-1.gitbook.io/docs/tutorial-mengganti-dns.md).

# Tutorial Mengganti DNS

Kenapa Wajib Menyalakan DNS?

:white\_check\_mark: Terhindar dari Blokir Kominfo Tanpa VPN

:white\_check\_mark: Internet Lebih Aman dan Stabil

### Android

{% tabs %}
{% tab title="Android (Semua)" %}

1. Buka menu **Pengaturan** atau **Setting** pada perangkat Android.
2. Cari opsi **“Koneksi”** atau **“Network”** dan pilih menu **“Pengaturan Koneksi Lainnya”**.
3. Pada bagian **“DNS Pribadi”** atau **“Private DNS”**, pilih **“Manual”** dan masukkan alamat host DNS yang ingin digunakan. Contohnya,`dns.google`.
4. Klik **"Save"** atau **"Simpan Perubahan"** yang telah dilakukan.
   {% endtab %}

{% tab title="Xiaomi" %}
Cara untuk mengaktifkan DNS pribadi di Xiaomi adalah:

1. Masuk ke menu **Pengaturan** atau **Setelan** di HP Xiaomi.
2. Pilih menu **Koneksi & Berbagi**.
3. Pilih menu **DNS Pribadi**.
4. Pilih **Nama Host Penyedia DNS Pribadi**
5. Masukkan hostname `dns.google`.
6. Klik **"Simpan"** dan DNS pribadi akan langsung aktif.
   {% endtab %}
   {% endtabs %}

### Apple ( IOS, MacOS, iPadOS)

### ✅ Perangkat yang Didukung

| Platform | Versi Minimal    |
| -------- | ---------------- |
| iOS      | 14.0 +           |
| iPadOS   | 14.0 +           |
| macOS    | 11.0 (Big Sur) + |

***

#### 🔗 Link File:

{% file src="/files/8VRrEGtSHzxQyw3EHToa" %}

***

#### 📱 Untuk iOS / iPadOS

1. **Buka Safari** dan download link di atas.
2. Ketuk **Izinkan** (Allow) saat muncul notifikasi unduhan profil.
3. Buka **Pengaturan (Settings)** → Ketuk **Profil yang Diunduh** (Profile Downloaded).
4. Ketuk **Instal** → Masukkan passcode perangkat jika diminta → Lanjutkan instalasi.
5. Setelah selesai, **restart perangkat** (opsional).

***

#### 💻 Untuk macOS

1. **Buka Safari** dan Download Link diatas
2. File akan terunduh secara otomatis. **Klik dua kali** file tersebut.
3. Aplikasi **System Preferences / System Settings** akan terbuka ke bagian **Profiles**.
4. Klik **Install** untuk menerapkan profil DNS.
5. Masukkan password admin jika diminta.
6. **Restart Mac** untuk memastikan pengaturan aktif (opsional).

***

### Windows 10 / 11

#### 🧭 Metode 1: Manual (IPv4/IPv6)

**Langkah 1: Buka Pengaturan Jaringan**

1. Klik kanan ikon **Wi-Fi / Ethernet** di Taskbar → pilih **Open Network & Internet settings**.
2. Klik **Change adapter options**.
3. Klik kanan koneksi aktif (Wi-Fi atau Ethernet) → **Properties**.

**Langkah 2: Atur DNS**

4. Pilih `Internet Protocol Version 4 (TCP/IPv4)` → klik **Properties**.
5. Pilih **Use the following DNS server addresses**:
   * **Preferred DNS server:** `8.8.8.8`
   * **Alternate DNS server:** `8.8.4.4`
6. Klik **OK** untuk menyimpan.

***

#### 🔐 Metode 2: DNS over HTTPS (DoH)

Windows 10 (versi 2004+) dan Windows 11 mendukung DoH **tanpa software tambahan**.

**Cara Aktifkan DoH:**

1. **Buka Settings** → **Network & Internet** → **Wi-Fi / Ethernet** → Klik koneksi aktif.
2. Klik **Edit** di bawah bagian **DNS server assignment**.
3. Pilih **Manual**.
4. Aktifkan IPv4 atau IPv6.
5. Masukkan DNS Google:
   * **Preferred DNS:** `8.8.8.8`
   * **Alternate DNS:** `8.8.4.4`
6. **Aktifkan "Encrypt DNS" / DoH** untuk keduanya:
   * Pilih **"Encrypted only (preferred)"** dari dropdown.

Ada Juga Cara yang Lebih mudah yaitui menggunakan Script:<br>

#### 🧩 **Metode 1 – Menggunakan Perintah `netsh` (Command Prompt atau Batch File)**

Download File ini&#x20;

{% file src="/files/ZVetC8n2vlxeEA6j1YJi" %}

atau copas code dibawah ke notepad.

```sh
@REM Mengecek status DoH saat ini
netsh dns show global

@REM Menampilkan semua server DoH dan template yang tersedia
netsh dns show encryption

@REM Mengaktifkan DNS over HTTPS secara global
netsh dns add global dot=yes

@REM Menambahkan server DoH Google
netsh dns add encryption server=8.8.8.8 dohtemplate=https://dns.google/dns-query autoupgrade=yes udpfallback=no

@REM Menambahkan server DoH Cloudflare
netsh dns add encryption server=1.1.1.1 dohtemplate=https://cloudflare-dns.com/dns-query autoupgrade=yes udpfallback=no

@REM Membersihkan cache DNS
ipconfig /flushdns
```

**🛠️ Cara Menjalankan:**

1. Buka **Notepad** → tempelkan isi di atas → simpan sebagai `enable_DoH.bat`
2. Atau Bisa juga Download file nya diatas.
3. Klik kanan file \``` enable_DoH.bat` `` → **Run as administrator**
4. Selesai! DNS over HTTPS aktif.

***

#### ⚡ **Metode 2 – Menggunakan PowerShell**

Download File ini

{% file src="/files/6gOUmEMiI8noQihhI4se" %}

**📄 Isi file: `enable_DoH.ps1`**

```powershell
# Melihat daftar server DNS yang mendukung DoH
Get-DnsClientDohServerAddress

# Menambahkan server DoH Google
Add-DnsClientDohServerAddress -ServerAddress "8.8.8.8" -DohTemplate "https://dns.google/dns-query" -AllowFallbackToUdp $False -AutoUpgrade $True

# Menambahkan server DoH Cloudflare
Add-DnsClientDohServerAddress -ServerAddress "1.1.1.1" -DohTemplate "https://cloudflare-dns.com/dns-query" -AllowFallbackToUdp $False -AutoUpgrade $True

# Membersihkan cache DNS
ipconfig /flushdns
```

**🛠️ Cara Menjalankan:**<br>

1. Buka **Notepad** → tempelkan isi di atas → simpan sebagai `enable_DoH.ps1`
2. Atau Bisa juga Download file nya diatas.
3. Klik kanan file → **Run with PowerShell** (harus sebagai administrator)
4. Selesai!

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shinigami-1.gitbook.io/docs/tutorial-mengganti-dns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
