Skip to content

Commit

Permalink
Merge pull request #1667 from pi-hole/master
Browse files Browse the repository at this point in the history
Sync dev with master
  • Loading branch information
DL6ER authored Dec 24, 2020
2 parents f7733f4 + 780dff0 commit 373770d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cname_records.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
</div>
</div>
<div class="box-footer clearfix">
<strong>Note:</strong>
<p>The target of a <code>CNAME</code> must be a domain that the Pi-hole already has in its cache or is authoritative for. This is an universal limitation of <code>CNAME</code> records.</p>
<p>The reason for this is that Pi-hole will not send additional queries upstream when serving <code>CNAME</code> replies. As consequence, if you set a target that isn't already known, the reply to the client may be incomplete. Pi-hole just returns the information it knows at the time of the query. This results in certain limitations for <code>CNAME</code> targets,
for instance, only <i>active</i> DHCP leases work as targets - mere DHCP <i>leases</i> aren't sufficient as they aren't (yet) valid DNS records.</p>
<p>Additionally, you can't <code>CNAME</code> external domains (<code>bing.com</code> to <code>google.com</code>) successfully as this could result in invalid SSL certificate errors when the target server does not serve content for the requested domain.</p>
<button type="button" id="btnAdd" class="btn btn-primary pull-right">Add</button>
</div>
</div>
Expand Down

0 comments on commit 373770d

Please sign in to comment.