<div dir="ltr"><div>[ Classification Level: <font color="blue">GENERAL BUSINESS</font> ]</div><br class="cursAfter">Dot "." instead of asterisk "*" as the zone name. Remove the "hint" zone, since that doesn't apply when you host your own root zone.<div><br></div><div>You need a proper MNAME for the SOA RR too.<br><div><br></div><div> - Kevin<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 21, 2021 at 11:18 AM Jeronimo <<a href="mailto:jscmenezes@gmail.com">jscmenezes@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">how can I get the same IPv6 address as the answer to any query to my Bind9?<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I am using Ubuntu 20 and Bind 9.11 whit configuration as bellow:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">------<br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">$ cat /etc/bind/named.conf<br>include "/etc/bind/named.conf.options";<br>include "/etc/bind/named.conf.local";<br>include "/etc/bind/named.conf.default-zones";</span></div><div class="gmail_default" style="font-size:small">------<br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">$ cat /etc/bind/named.conf.options <br>options {<br> directory "/var/cache/bind";<br>recursion no;<br> querylog yes;<br> listen-on-v6 { any; };<br>dnssec-validation auto;<br> auth-nxdomain no; # conform to RFC1035<br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">};</span></div><div class="gmail_default" style="font-size:small">------------------------<br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">$ cat /etc/bind/named.conf.default-zones <br>zone "." {<br> type hint;<br> file "/etc/bind/db.root";<br>};<br><br>zone "localhost" {<br> type master;<br> file "/etc/bind/db.local";<br>};<br><br>zone "127.in-addr.arpa" {<br> type master;<br> file "/etc/bind/db.127";<br>};<br><br>zone "0.in-addr.arpa" {<br> type master;<br> file "/etc/bind/db.0";<br>};<br><br>zone "255.in-addr.arpa" {<br> type master;<br> file "/etc/bind/db.255";<br>};<br><br>zone "*" {<br> type master;<br> file "/etc/bind/db.fakeroot";<br>};<br></span></div><div class="gmail_default" style="font-size:small">------------------------------<br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">$ cat db.fakeroot <br>$TTL 30<br>@ IN SOA * <a href="http://hostmaster.mydomain.com" target="_blank">hostmaster.mydomain.com</a>. (<br> 1 ; Serial<br> 240 ; Refresh<br> 120 ; Retry<br> 900 ; Expire<br> 300 ; Negative Cache TTL<br> )<br>;<br> IN NS <ipv6-local><br>* IN AAAA <ipv6-to-be-returned-to-all-querys></span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Any help is welcome.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Regards,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Jeronimo<br></div><div class="gmail_default" style="font-size:small"><br></div></div>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div></div></div></div>