# DNS Server

##### Tutorials

DNS over HTTPS (DoH)

- [How to install dnscrypt proxy with adblocker on Linux](https://www.cyberciti.biz/faq/how-to-install-dnscrypt-proxy-with-adblocker-on-linux/)

Secure DNS

- [DNS settings to avoid email spoofing and phishing for unused domain - nixCraft (cyberciti.biz)](https://www.cyberciti.biz/security/dns-settings-to-avoid-email-spoofing-and-phishing-for-unused-domain)
- [How to test and validate DNSSEC using dig command line - nixCraft (cyberciti.biz)](https://www.cyberciti.biz/faq/unix-linux-test-and-validate-dnssec-using-dig-command-line/)

##### Adguard Home

- [GitHub - AdguardTeam/AdGuardHome: Network-wide ads &amp; trackers blocking DNS server](https://github.com/AdguardTeam/AdGuardHome)

##### NSD

An authoritative-only DNS server

- [NSD Tutorial Updated for 2024: Now With Zone Transfers! - LowEndBox](https://lowendbox.com/blog/nsd-tutorial-updated-for-2024-now-with-zone-transfers/)
- [How To Use NSD, an Authoritative-Only DNS Server, on Ubuntu 14.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-use-nsd-an-authoritative-only-dns-server-on-ubuntu-14-04)

##### Pi-hole

Pi-hole - A DNS-based advertisement blocker

- [How to Set Up Pi-hole to Get an Ad-free Life](https://itsfoss.com/setup-pi-hole/)
- [7 Things I Wish I Knew Before Running a Pi-hole](https://www.howtogeek.com/things-i-wish-i-knew-before-running-a-pi-hole/)

docker-compose.yaml :

```yaml
pihole:
    image: pihole/pihole:latest
    container_name: pihole
    restart: always
    ports:
      - "53:53/tcp"
      - "53:53/udp"
    dns:
      - 127.0.0.1
      - 1.1.1.1
    environment:
      TZ: 'America/Chicago'
      WEBPASSWORD: 'password'
      PIHOLE_DNS_: 1.1.1.1;9.9.9.9
      DNSSEC: 'false'
      WEBTHEME: default-dark
    volumes:
      - '~/homelabservices/pihole/pihole:/etc/pihole/'
      - '~/homelabservices/pihole/dnsmasq.d:/etc/dnsmasq.d/'
    networks:
      - pihole

networks:
  pihole:
    driver: bridge
    name: pihole
```

##### Technitium

Self host a DNS server for privacy &amp; security

- [Technitium DNS Server | An Open Source DNS Server For Privacy &amp; Security](https://technitium.com/dns/)
- GitHub: [https://github.com/TechnitiumSoftware/DnsServer](https://github.com/TechnitiumSoftware/DnsServer)
- [Technitium: The Self-Hosted DNS Server You Should Run - YouTube](https://www.youtube.com/watch?v=9buji0Vnbo0)