<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 14 Aug 2021 at 14:46, A. Schulze via Unbound-users <<a href="mailto:unbound-users@lists.nlnetlabs.nl">unbound-users@lists.nlnetlabs.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 14.08.21 um 11:30 schrieb José Ramón Muñoz Pekkarinen via Unbound-users:<br>
<br>
> local-data: "<a href="http://router.mydomain.com" rel="noreferrer" target="_blank">router.mydomain.com</a>. IN A 192.168.1.1 192.168.2.1 192.168.3.1 <br>
> fd01:5f3b:820e::1"<br>
> local-data: "<a href="http://gw.router.mydomain.com" rel="noreferrer" target="_blank">gw.router.mydomain.com</a> A 192.168.1.1 192.168.2.1 192.168.3.1 <br>
> fd01:5f3b:820e::1"<br>
<br>
this looks like invalid to me, (but may be wrong)<br>
I would write this as:<br>
<br>
local-data: "<a href="http://router.mydomain.com" rel="noreferrer" target="_blank">router.mydomain.com</a>. IN A 192.168.1.1"<br>
local-data: "<a href="http://router.mydomain.com" rel="noreferrer" target="_blank">router.mydomain.com</a>. IN A 192.168.2.1"<br>
local-data: "<a href="http://router.mydomain.com" rel="noreferrer" target="_blank">router.mydomain.com</a>. IN A 192.168.3.1"<br>
local-data: "<a href="http://router.mydomain.com" rel="noreferrer" target="_blank">router.mydomain.com</a>. IN AAAA fd01:5f3b:820e::1"<br>
local-data: "<a href="http://gw.router.mydomain.com" rel="noreferrer" target="_blank">gw.router.mydomain.com</a>. IN A 192.168.1.1"<br>
local-data: "<a href="http://gw.router.mydomain.com" rel="noreferrer" target="_blank">gw.router.mydomain.com</a>. IN A 192.168.2.1"<br>
local-data: "<a href="http://gw.router.mydomain.com" rel="noreferrer" target="_blank">gw.router.mydomain.com</a>. IN A 192.168.3.1"<br>
local-data: "<a href="http://gw.router.mydomain.com" rel="noreferrer" target="_blank">gw.router.mydomain.com</a>. IN AAAA fd01:5f3b:820e::1"<br></blockquote><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>Hi,</div><div><br></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>Thanks for the answer, you are totally right with this,</div></div></blockquote>I just missed that ipv6 entries are AAAA instead of A, so when<div>I tested this approach unbound didn't start at all. After doing</div><div>this config change it starts nicely and returns the right ip over</div><div>ping and dig:</div><div><br></div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)">#</span><span style="color:rgb(0,0,0)"> ping <a href="http://gw.router.mydomain.com">gw.router.mydomain.com</a></span></span><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">PING <a href="http://gw.router.mydomain.com">gw.router.mydomain.com</a> (192.168.2.1) 56(84) bytes of data.
</span><br>64 bytes from 192.168.2.1 (192.168.2.1): icmp_seq=1 ttl=64 time=1.98 ms
<br>64 bytes from 192.168.2.1 (192.168.2.1): icmp_seq=2 ttl=64 time=4.44 ms<br></span><div> </div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Thanks!</div></div><div><br></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>José.</div></blockquote></div>