<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">On Sep 23, 2022, at 14:03, JAHANZAIB SYED via Unbound-users <unbound-users@lists.nlnetlabs.nl> wrote:</div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite"><span style="font-family: "Courier New", monospace; font-size: 12pt; background-color: rgb(255, 255, 255);">Ok with wildcard tip, I proceed little further.</span></blockquote></div><blockquote type="cite"><div dir="ltr"><div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I added following record in reverse zone</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<div><span style="color: rgb(134, 17, 6);">* IN PTR example.com.</span><span><br>
</span></div>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Now If I do nslookup for any LAN IP (pool 192.168.1.x/24) who doesn't have any PTR record, it resolves to</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
> 192.168.1.200
<div><b>Name: example.com</b><br>
</div>
Address: <span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;">192.168.1.200</span><br>
</div>
<div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
How can I turn this example.com to default as IP<span style="font-family: "Courier New", monospace; font-size: 12pt;">.example.com (e.g: <span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;">192-168-1-200.example.com)</span></span></div></div></div></blockquote><div><br></div><div>You can either replace the wildcard record in the 1.168.192.in-addr.arpa zone with lots of individual PTR records (this is more practical with IPv4 than IPv6) or you can...</div><br><blockquote type="cite"><div dir="ltr"><div>
<div id="Signature"><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Måns Nilsson<br>
<b>Sent:</b> Friday, September 23, 2022 4:05 PM<br>
<b>To:</b> JAHANZAIB SYED<br>
<b>Cc:</b> unbound-users@lists.nlnetlabs.nl<br>
<b>Subject:</b> Re: Default Reverse Lookup name for unused IP in unbound
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">If you want to have a more special RDATA section in the reply, an<br>
active authoritative server is required, where ansvers are synthesized<br>
on-the-fly.<br></div></span></font></div></div></div></div></div></blockquote><div><br></div><div>... do something like that.</div><div><br></div><div><br></div><div>Joe</div></body></html>