Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5484
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by Tofi@TofiReporter
  • New related issue

  • New related issue

[DNS plugin] Reverse DNS Zones unusable with bind-sdb

Closed

[DNS plugin] Reverse DNS Zones unusable with bind-sdb

In FD 1.0.20 an option can be use to store, or not, a final dot to the zoneName ("Issue 2636":https://forge.fusiondirectory.org/issues/2636)

With bind-sdb it is necessary to not store the zoneName with a final dot, but this option is active to the reverses zones too. For the reverse zones, if the zoneName (in-addr.arpa) doesn't have a final dot, bind add the domain name to the value it returned.

for example: test.example.com -> 1.0.168.192.in-addr.arpa.example.com

To sum up, for Bind-sdb a zoneName need to not have a final dot and a reverse zone need to have a final dot (in-addr.arpa.)

(from redmine: issue id 5484, created on 2017-04-25, closed on 2017-05-02)

  • Changesets:
    • Revision 2e52d318 by Côme Chilliet on 2017-04-25T13:35:08.000Z:
Fixes #5484 Adding final dot to PTR records ignoring the dns final dot setting
  • Revision d53ffb9f6192670f6a9eb516dcaeb81c6e0c0515 by Côme Chilliet on 2017-04-26T07:37:19.000Z:
Fixes #5484 Adding final dot to PTR records ignoring the dns final dot setting
  • Custom Fields:
    • Bug in version: 1.0.20
    • Support contract: None

    Tasks

    0
    Cannot read properties of undefined (reading 'workItem')

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • Tofi
      Tofi @Tofi · 8 years ago
      Author Reporter

      In FD 1.0.20 an option can be use to store, or not, a final dot to the zoneName ("Issue 2636":https://forge.fusiondirectory.org/issues/2636)

      With bind-sdb, it's necessary to store the pTRRecord with a final dot even if the zone name is not store withe a final dot.

      For the reverse zones, if the pTRRecord(in-addr.arpa) doesn't have a final dot, bind add the domain name to the value it returned.

      for example: 192.168.0.1 -> "test.example.com.in-addr.arpa." instead of "test.example.com."

      To sum up, for Bind-sdb a aRecord need to not have a final dot and for a reverse zone the pTRRecord need to have a final dot (test.example.com.)

      (from redmine: written on 2017-04-25)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Could you give a short example of which LDAP fields will need to contain the final dot and which will not?

      (from redmine: written on 2017-04-25)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Applied in changeset commit:fusiondirectory-plugins|2e52d318.

      (from redmine: written on 2017-04-25)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Can you test on demo-dev.fusiondirectory.org and tell me if it’s correct? (You’ll need to first edit the configuration to deactivate the final dot)

      (from redmine: written on 2017-04-25)

    • Tofi
      Tofi @Tofi · 8 years ago
      Author Reporter

      Sorry for the late answer.

      The working example is the configuration with the "Store final dot in domains" option unchecked, and the field pTRRecord with a final dot.

      The demo-dev.fusiondirectory.org seems to store the good value but i can only test tomorrow at work. I will confirm you the modification.

      (from redmine: written on 2017-04-25)

    • Tofi
      Tofi @Tofi · 8 years ago
      Author Reporter

      I tried this morning, but my problem is that i'm using the 1.0.20 packages version for centos, so i applied the diff which are related to the "$zoneNameWithFinalDot" modifications, and it work like a charm.

      Is it possible to add the 1.1 dns plugin to an 1.0.20 installation ?

      Thanks for this really really fast correction.

      (from redmine: written on 2017-04-26)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      The fix was integrated in 1.0.20-fixes, you can use this repo: https://integration.fusiondirectory.org/repos/fixes-releases/rpm/

      (from redmine: written on 2017-04-26)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Applied in changeset commit:fusiondirectory-plugins|d53ffb9f6192670f6a9eb516dcaeb81c6e0c0515.

      (from redmine: written on 2017-04-26)

    • Tofi
      Tofi @Tofi · 8 years ago
      Author Reporter

      I tried the 1.0.20 fixed version and it works perfectly.

      (from redmine: written on 2017-05-01)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Close issue

      (from redmine: written on 2017-05-02)

    • Côme Chilliet closed 7 years ago

      closed

    • bmortier added Fixed label 6 years ago

      added Fixed label

    • bmortier removed Bugs label 2 years ago

      removed Bugs label

    • bmortier added PJ1802-0188 label 2 years ago

      added PJ1802-0188 label

    Please register or sign in to reply
    Assignee
    Côme Chilliet's avatar
    Côme Chilliet
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets