Local DNS with specific domain

  • ad #0
    For DHCP leases assigned by Pi-hole's DHCP server, Pi-hole will add DNS records for hostname as well as hostname.institute.university.de, provided dns.domain is set to institute.university.de.
    To have Pi-hole treat local DNS records (A/AAAA) in a similar fashion, you'd also need to enable Expand hostnames / dns.expandHosts.

  • ad #1
    You may supply more than one conditional upstream / dns.revServer, in which case any of them may be used as upstream.
    pihole-FTL will elect to prefer the fastest responding conditional target DNS server, as it does for regular upstream DNS servers.

  • ad #2
    Configuring any IP of the system that your Pi-hole is running on as one of Pi-hole's upstreams would result in a DNS loop.
    Consequently, Pi-hole will discard such options and log a corresponding message.

1 Like