GithubHelp home page GithubHelp logo

Comments (14)

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024 1

@ivanfilippov : I've pushed some adjustments to support pdns v4.x.x in our new_ui branch.
Features are working:

  • Add a domain
  • Show domain/record table
  • Adding a records.

Still have problem with multiple records adding which described at #5 (comment) in my adjustment.

Let me know if you have any idea/adjustment.

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024 1

@ngoduykhanh I fixed the multiple record adding issue in this commit: ivanfilippov@812aa05

During testing I noticed that the new PDNS API won't accept MX or SRV records unless they are suffixed by a '.'. This looks like it's part of the spec for MX and SRV records, so I'll work on adding that in as well just for the new API code.

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024 1

@ngoduykhanh I fixed the '.' issue with MX and SRV records I mentioned above, but I'm not sure that the way I fixed it is the best way. Can you review it? Commit here: ivanfilippov@b9f57e8

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024 1

Pushed commit aad9d92 for those changes.

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024

PowerDNS 4 still in Alpha release. But I will start working on this to make sure PowerDNS-Admin can work with the new version of PowerDNS.

from powerdns-admin.

Trozz avatar Trozz commented on June 18, 2024

any movement on this?

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024

I've started a very naive implementation of pdns 4 support in a new branch. You'll need to add /api/v1/ to the end of your PDNS_STATS_URL in config.py when configuring the new code.

It works in my test environment with pdns 4.0.0-alpha1, but I would appreciate feedback from others.

The branch can be found here: https://github.com/ivanfilippov/PowerDNS-Admin/tree/pdns4-support

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024

Spoke too soon, this will need quite a bit more work to work properly with pdns4.

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024

@ivanfilippov : I am OK with your change. But it looks like we need more than MX and SRV here. CNAME, NS also requires trailing dot in their content.

p/s: pdns v4.x.x requires to add a trailing dot in the records name and content, but the trailing dots aren't saved in the pdns's database actually :)

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024

@ngoduykhanh I noticed that the pdns database does not save the dots as well, but pdns itself must add them when responding to queries. I wonder why they decided to do that.

We'll need to add CNAME and NS to this line: ivanfilippov@b9f57e8#commitcomment-17781503

Go ahead and add those two in if you're free, I won't have a chance to look at it until tomorrow. 😄

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024

@ivanfilippov : I see. I will take care of adding those two in. thanks Ivan.

from powerdns-admin.

ivanfilippov avatar ivanfilippov commented on June 18, 2024

@ngoduykhanh

Thanks!

By the way, I'm going to remove my own new_ui branch and push directly to the one in your repo, having my own branch and keeping it in sync is becoming a pain. 😄

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024

@ivanfilippov
Yes, you should do that. Thanks buddy :)

from powerdns-admin.

ngoduykhanh avatar ngoduykhanh commented on June 18, 2024

PDNS 4.x.x is supported now with PR #50 . Feel free to open issues related to PDNS 4.x.x compatibilities.

from powerdns-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.