<div dir="ltr"><div dir="ltr">RPZ should be able to do that.  Read up on RPZ in the BIND manual, and search online for more info.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br>-- <br>Bob Harold</div></div></div></div></div></div><br><input name="virtru-metadata" type="hidden" value="{"email-policy":{"disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expandedWatermarking":false,"expires":false,"sms":false,"expirationNum":1,"expirationUnit":"days","isManaged":false,"persistentProtection":false},"attachments":{},"compose-id":"30","compose-window":{"secure":false}}"></div><br><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Fri, Aug 19, 2022 at 2:56 AM Matthias Fechner <<a href="mailto:idefix@fechner.net">idefix@fechner.net</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">Dear all,<br>
<br>
I'm not sure if bind can do this, but let me explain what I would like <br>
to do.<br>
<br>
It is a hostname from a foreign domain, like:<br>
<a href="http://test.myfritz.net" rel="noreferrer" target="_blank">test.myfritz.net</a><br>
<br>
it is returning an IPv4 and IPv6 address:<br>
host <a href="http://test.myfritz.net" rel="noreferrer" target="_blank">test.myfritz.net</a><br>
<a href="http://test.myfritz.net" rel="noreferrer" target="_blank">test.myfritz.net</a> has address 100.91.114.161<br>
<a href="http://test.myfritz.net" rel="noreferrer" target="_blank">test.myfritz.net</a> has IPv6 address 2a02:6d40:17:9dc7:e228:6dff:fe8d:1f41<br>
<br>
The IPv4 address will not work due to carrier-nat, so only the IPv6 <br>
address would be reachable from outside.<br>
<br>
Is there a way to configure bind that if I resolve <a href="http://test.myfritz.net" rel="noreferrer" target="_blank">test.myfritz.net</a> (it <br>
must not be under the domain <a href="http://myfritz.net" rel="noreferrer" target="_blank">myfritz.net</a>, but can also be in a way <br>
aliased to a domain I own) that it only returns the IPv6 address but <br>
totally skip the IPv4 address?<br>
The IPv4 and IPv6 addresses are not permanent and change at least once a <br>
day.<br>
<br>
<br>
Gruß<br>
Matthias<br>
<br>
-- <br>
<br>
"Programming today is a race between software engineers striving to<br>
build bigger and better idiot-proof programs, and the universe trying to<br>
produce bigger and better idiots. So far, the universe is winning." --<br>
Rich Cook<br>
<br>
-- <br>
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>