Pustaka Taratsa

Baca teks (EPUB): DNS: Linux systemd-resolved

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. DNS: Linux systemd-resolved

DNS: Linux systemd-resolved

Sumber: https://onnocenter.or.id/wiki/index.php/DNS:_Linux_systemd-resolved

Open the file /etc/systemd/resolved.conf in a text editor and make the desired changes. Afterwards run sudo systemctl restart systemd-resolved to activate the changes.

Common options to change in that file are in the [Resolve] section, for example:

DNS=192.168.1.1
Domains=mynet

Will set your dns server and search domain.

The resolved.conf manual page is a good source for information on how to edit the configuration file.