title: Accessing the PiHole DNS Service over the Wireguard Tunnel not possible?
body: <p>I've started setting up my own <strong>VPN Service</strong> via <strong>WireGuard</strong> which works pretty fine with the following ...</p>
  <p><strong><strong>Configuration</strong></strong> <em>(working)</em></p>
  <p><code>Client</code></p>
  <pre><code>[Interface]
  PrivateKey = *hidden*
  Address = 10.6.0.2/24
  DNS = 1.1.1.1
  
  [Peer]
  PublicKey = *hidden*
  PresharedKey = *hidden*
  AllowedIPs = 0.0.0.0/0, ::/0
  Endpoint = vpn.myserver.net:51820
  </code></pre>
  <blockquote>
  <p>I've set <strong>AllowedIPs (IPv4) to 0.0.0.0/0</strong> allowing the Client routing
  his DNS Request over the Server while preventing a DNS Leak.</p>
  </blockquote>
  <hr />
  <p>My <strong>PiHole Service</strong> uses the <code>eth0</code> Interface, while <strong>Wireguard</strong> uses it's own called <code>wg0</code>.<br />
  And the private IPv4 of <strong>Pihole (DNS)</strong> is <code>10.0.0.5</code> and the <strong>Server Gateway</strong> is <code>10.0.0.1</code>.</p>
  <p><strong><strong>Configuration</strong></strong> <em>(not working so far)</em></p>
  <p><code>Client</code></p>
  <pre><code>[Interface]
  PrivateKey = *hidden*
  Address = 10.6.0.2/24
  DNS = 10.0.0.5
  
  [Peer]
  PublicKey = *hidden*
  PresharedKey = *hidden*
  AllowedIPs = 0.0.0.0/0, ::/0
  Endpoint = vpn.myserver.net:51820
  </code></pre>
  <hr />
  <blockquote>
  <p><strong>I appreciate any ideas and tips Posted under this Question, happy
  commenting :)</strong></p>
  </blockquote>