<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Comments below...</div><div class=""><br class=""></div><div class="">Jon</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Dec 24, 2023, at 5:44 PM, marki via Unbound-users <<a href="mailto:unbound-users@lists.nlnetlabs.nl" class="">unbound-users@lists.nlnetlabs.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">IMHO these are not issues concerning unbound but rather understanding of DNS in general. So maybe this is not the right forum.<br class=""></div></div></div></blockquote><div><br class=""></div>This is my first time experimenting with DNS (though I have been experimenting with RPZ).. </div><div><br class=""></div><div>What is the right forum?</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div dir="auto" class="">To answer your question, what you are suggesting is not normally done. </div></div></div></blockquote><div><br class=""></div><div>That is the main thing I want to know! What is normally done!</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div dir="auto" class="">But it doesn't necessarily generate errors. You need to know what you are doing / what goal you want to achieve.<br class=""></div></div></div></blockquote><div><br class=""></div>I am trying to add devices (clients) to unbound DNS. Most have one network interface and a few have two interfaces.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div dir="auto" class=""><br class="">If you are declaring two identical A records pointing to different IP addresses, then the resolved IP will randomly be chosen between all entries. It can be used as a load-balancer for the poor.<br class=""></div></div></div></blockquote><div><br class=""></div>That makes sense! I had not heard this before (and I had not considered it). This helps - Thank you!</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div dir="auto" class=""><br class="">Usually you have one IP (and one name) per interface. It doesn't matter what "device" that interface belongs to.<br class=""><br class="">Very often people use "service names" to point to some IP and then the name of the actual host the IP is assigned to is used in the reverse lookup.<br class=""><br class="">I.e. <br class="">accounting CNAME acc01prd<br class="">acc01prd IP 1.2.3.4<br class="">1.2.3.4 PTR acc01prd<br class=""><br class=""></div></div></div></blockquote><div><br class=""></div><div>So when loading the up `unbound-control list_local_data` or even writing line(s) to "/etc/unbound/dhcp-leases.conf", what is the proper way to add the 1st network interface and the 2nd network interface.</div><div><br class=""></div><div>This is my current items:</div><div><span style="font-family: Menlo-Regular; font-size: 13px;" class=""> deb12dell.localdomain. 60 IN A 192.168.60.175</span><br style="font-family: Menlo-Regular; font-size: 13px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px;" class=""> 175.60.168.192.in-addr.arpa. 60 IN PTR deb12dell.localdomain.</span><br style="font-family: Menlo-Regular; font-size: 13px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px;" class=""><br class=""></span></div><div><span style="font-family: Menlo-Regular; font-size: 13px;" class=""> deb12dell.localdomain. 60 IN A 192.168.65.180</span><br style="font-family: Menlo-Regular; font-size: 13px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px;" class=""> 180.65.168.192.in-addr.arpa. 60 IN PTR deb12dell.localdomain.</span><br style="font-family: Menlo-Regular; font-size: 13px;" class=""></div><div><br class=""></div><div>What would the the proper way? </div><div><br class=""></div><div>Can CNAMES be added to a "/etc/unbound/dhcp-leases.conf" file?</div><div><br class=""></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class=""><div dir="auto" class="">So you don't use the cryptic hostname to access the service, but if you do a reverse lookup you find out where the IP is hosted.<br class=""><br class="">But it all depends on what you want to accomplish.</div></div></div></blockquote><br class=""></div><div>Thank you! The above does help!</div><br class=""></body></html>