Bug 12449 - Avoid recursion in the windows dns admin gui
Summary: Avoid recursion in the windows dns admin gui
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DNS server (internal) (show other bugs)
Version: 4.15.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-25 10:34 UTC by Stefan Metzmacher
Modified: 2021-12-01 13:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2016-11-25 10:34:27 UTC
It is important to handle difference between node_name="w4edom-l4.base"
and node_name="w4edom-l4.base.w4edom-l4.base" with zone_name="w4edom-l4.base".

If someone accedentally added new name as 
"somehost.w4edom-l4.base.w4edom-l4.base", we used to display a recursion
in the Windows dns admin GUI.

Before we got this:

w4edom-l4.base
-> base
  -> w4edom-l4
   -> base
     -> w4edom-l4
        -> base
          -> w4edom-l4
            -> base
              -> w4edom-l4
                -> base
                  -> w4edom-l4
                     -> base
                       -> w4edom-l4
                       ...

Now we get the same as with a Windows server and see a tree like this:

w4edom-l4.base
-> base
  -> w4edom-l4
     -> somehost: A 172.31.111.111
Comment 1 Björn Jacke 2021-12-01 13:47:37 UTC
see wip patches here:
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master4-dns
especially 0abf3270cf9f3b8ea9bbbe3a45f7a4ee4b0cd3aa