Groups | Search | Server Info | Login | Register


Groups > comp.protocols.dns.bind > #16069

Re: Reverse lookup response format

From Warren Kumari <warren@kumari.net>
Newsgroups comp.protocols.dns.bind
Subject Re: Reverse lookup response format
Date 2020-08-25 10:56 -0400
Message-ID <mailman.835.1598367376.942.bind-users@lists.isc.org> (permalink)
References <CAJk9E5qmxe5gjWMAfFua_aJFieSwNiTEO65Pvr5NAUJ38g6tzQ@mail.gmail.com> <CAHw9_i+ozoJu-5YphiyR2PXJvoXo3eBiT5vM9wJf7BSjj_xJSQ@mail.gmail.com>

Show all headers | View raw


On Tue, Aug 25, 2020 at 10:30 AM Brad Stevenson
<brad.stevenson42@gmail.com> wrote:
>
> Hello, I apologize if this has been discussed before. I tried to search the archives but couldn’t find anything.
>
>
>
> I would like to have the behavior of the reverse lookup responses to only include the hostname, not the hostname with the reverse zone appended. So for example:
>
> # nslookup 192.168.2.206
>
> 206.2.168.192.in-addr.arpa      name = server1.ctois.local
>
>
>
> Instead of the way it is now:
>
> # nslookup 192.168.2.206
>
> 206.2.168.192.in-addr.arpa      name = server1.ctois.local.2.168.192.in-addr.arpa.
>
>
>
> Is this possible? Thanks in advance.

Yup -- you just need a period ('.') at the end of the name --
presumably in the zone file you have server1.ctois.local - that needs
to be server1.ctois.local.  (without the period the server doesn't
know that the name is fully qualified and adds the zone name...

W

>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users



-- 
I don't think the execution is relevant when it was obviously a bad
idea in the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair
of pants.
   ---maf

Back to comp.protocols.dns.bind | Previous | Next | Find similar


Thread

Re: Reverse lookup response format Warren Kumari <warren@kumari.net> - 2020-08-25 10:56 -0400

csiph-web