I'm not sure what you are trying to achieve here - PTR records and A records are completely separate entities living under different domains. Both of them should be maintained separately (there are probably tons of tools to keep them in sync if you like, but from DNS' perspective there is no relation between them).
If you want to "prevent reverse lookup" then you should tell the client not to do this. On 22 March 2015 at 22:31, Lev Olshvang <l...@nyotron.com> wrote: > Hi Linuxers, > > > > I am jumping on today’s DNS thread, > > > > My Linux Debian uses DNS service some Windows server. > > > > Linux resolver gets back IP address ( type A and AAA records), but fail > to get back PTR record. > > ( I am observing DNS queries and failures with Wireshark) > > > > This cause ldap to use address instead of host name in authentication > realm and fail. > > When I add address –hostname pairs in /etc/hosts, ldap succeeds. (it uses > name in the realm claim) > > > > > > > > I did not yet find a way to change nsswitch.conf to some resolver that > prevents reverse lookup, > > Please give me some ideas if it is possible. > > > > > > Lev. > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- <http://au.linkedin.com/in/gliderflyer>
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il