Comments (14)
@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.
@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.
@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.
Pushed commit aad9d92 for those changes.
from powerdns-admin.
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.
any movement on this?
from powerdns-admin.
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.
Spoke too soon, this will need quite a bit more work to work properly with pdns4.
from powerdns-admin.
@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.
@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.
@ivanfilippov : I see. I will take care of adding those two in. thanks Ivan.
from powerdns-admin.
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.
@ivanfilippov
Yes, you should do that. Thanks buddy :)
from powerdns-admin.
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)
- Viewing zone changelog results in HTTP 500 error HOT 3
- PowerDNS API Key Randomly Deleted HOT 3
- Fields aren't readable when editing zone templates HOT 2
- Ability to set default TTL for record HOT 2
- Zone templates with ALIAS records don't work HOT 3
- Add change comment feature to produce helpful changelogs HOT 3
- Add app setting to support a read-only mode of operation HOT 1
- Upgrade issues leading to incompatible schema of `sessions` table HOT 6
- Use of the `before_app_first_request` event removed in Flask 2.3 HOT 4
- Add CockroachDB compatibility to PDA HOT 2
- Issue with accessing IPv6 zones through the UI HOT 1
- Static Fonts not using a Relative Path HOT 2
- Support Path in Docker Health Check HOT 6
- Deployment issues with Ubuntu 22.04 LTS and FreeBSD HOT 11
- Why is the docker container called 'legacy', where is the 'release'? HOT 3
- Support Anonymous LDAP Authentication HOT 1
- Provide access control at the record level HOT 1
- Division into internal and external zones
- PDA Project Update
- LDAP not properly escaping special characters HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerdns-admin.