Default Reverse Lookup name for unused IP in unbound

JAHANZAIB SYED aacable at hotmail.com
Fri Sep 23 19:58:10 UTC 2022


Thank you for your detailed response. Surely its my lack of knowledge, Let me try playing with different options & will share results.


Regtrads,<http://pk.linkedin.com/pub/syed-jahanzaib/24/3b/407>
SJZ
<http:///>

________________________________
From: Måns Nilsson
Sent: Friday, September 23, 2022 5:30 PM
To: JAHANZAIB SYED
Cc: JAHANZAIB SYED via Unbound-users
Subject: Re: Default Reverse Lookup name for unused IP in unbound

Subject: Re: Default Reverse Lookup name for unused IP in unbound Date: Fri, Sep 23, 2022 at 12:03:27PM +0000 Quoting JAHANZAIB SYED via Unbound-users (unbound-users at lists.nlnetlabs.nl):
> Ok with wildcard tip, I proceed little further.
> I added following record in reverse zone
>
> *       IN    PTR   example.com.
>
> 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
>
> > 192.168.1.200
> Name:    example.com
> Address:  192.168.1.200
>
> How can I turn this example.com to default as IP.example.com (e.g: 192-168-1-200.example.com)

As I wrote a bit further down in my previous reply:

>> If you want to have a more special RDATA section in the reply, an
>> active authoritative server is required, where ansvers are synthesized
>> on-the-fly.

I'm afraid this is a bit off-topic here, as it deals with serving data
and not with looking it up, and unbound is definitely aimed at looking
up.

Several database- or script-driven backends have been developed for
various authoritative name servers, and while I've never tried myself,
I'm certain you'll find one that does what you want.

--
Måns Nilsson     primary/secondary/besserwisser/machina
MN-1334-RIPE           SA0XLR            +46 705 989668
I just had a NOSE JOB!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20220923/32cde38f/attachment.htm>


More information about the Unbound-users mailing list