1
0
Fork 0
knowledge-base/KB/Linux/DNS.md

674 B

creation date tags
2022-01-08
note
dns
linux
archlinux
network

DNS

  1. Disable systemd-resolved if you want to use plain resolv.conf.

  2. Either use router's DNS: Restart machine to have and updates resolv.conf file.

  3. Use dedicated DNS, e.g. see https://www.kuketz-blog.de/empfehlungsecke/#dns or your own.

  4. Edit resolv.conf by making it immutable afterwards: sudo chattr -i /etc/resolv.conf; sudo nano /etc/resolv.conf; sudo chattr +i /etc/resolv.conf

    options timeout:1
    options single-request
    # IPv4
    nameserver ...
    # IPv6
    nameserver .............