Comments (8)
Can you tell me what version of PowerDNS you're using?
from powerdns-admin.
I'm trying this on a fresh pdns-3.4.8 with the PowerDNS-Admin master
and I can't replicate it. I created example.com
using these queries:
INSERT INTO domains (name, type) values ('example.com', 'NATIVE');
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'example.com','localhost [email protected] 1','SOA',86400,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'example.com','dns-us1.powerdns.net','NS',86400,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'example.com','dns-eu1.powerdns.net','NS',86400,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'www.example.com','192.0.2.10','A',120,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'mail.example.com','192.0.2.12','A',120,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'localhost.example.com','127.0.0.1','A',120,NULL);
INSERT INTO records (domain_id, name, content, type,ttl,prio) VALUES (1,'example.com','mail.example.com','MX',120,25);
Do you have the LOG_FILE parameter set in config.py
? Not sure if it works as I expect it to in uwsgi mode, but check for its existence and see if that log is more useful.
You can also try running PowerDNS-Admin via python run.py
in it's directory (make sure to do source ./flask/bin/activate
first), then connect to it directly via http://localhost:9393
and watch the console as you try to delete example.com
from powerdns-admin.
Strange, this problem only seems to occur in Firefox. Deleting in Chrome works fine. I added my DB Version, since I'm not using MySQL but MariaDB, but I don't think that's the problem. This looks Browser Specific (I'm on Kubuntu 16.04 Desktop and Ubuntu 14.04 Server btw)
ubuntu@powerdns:~$ pdns_server --version
May 14 10:33:57 PowerDNS Authoritative Server 3.4.8 ([email protected]) (C) 2001-2015 PowerDNS.COM BV
May 14 10:33:57 Using 64-bits mode. Built on 20160203082222 by [email protected], gcc 4.7.2.
May 14 10:33:57 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
May 14 10:33:57 Features: botan1.10 libdl lua
May 14 10:33:57 Built-in modules: bind gmysql gpgsql pipe gsqlite3 lua geo tinydns mydns opendbx remote random
DB: MariaDB 10.0.24 (AWS RDS Instance)
2016-05-14 10:45:31,321 - MODEL - INFO - Added domain chrometest.com successfully
2016-05-14 10:45:37,158 - MODEL - INFO - Delete domain chrometest.com successfully
2016-05-14 10:45:46,918 - MODEL - INFO - Added domain fftest.com successfully
# ff delete request doesn't show up in log file.
Current PowerDNS-Admin settings during tests (In production I use LOGLEVEL='WARNING' and debug = False)
#config.py
LOGLEVEL='DEBUG'
#run.py
app.run(debug = True,
from powerdns-admin.
Oh, and another thing. In chrome, the domain still shows after the redirect, until I do a page refresh...
from powerdns-admin.
I was able to replicate both the Firefox and the Chrome issues. I've pushed a fix to this branch here: https://github.com/ivanfilippov/PowerDNS-Admin/tree/fix_domain_deletion_issues. Are you able to try it out to tell me if the issue is fixed for you as well? If it's fixed I'll merge it into the main repo.
from powerdns-admin.
Works perfectly in both Chrome and Firefox now :)
Since I had to switch origin url to test the patch, will this be merged into this repository? Because currently I switched to the fork, which makes me a bit uneasy on a production server ;)
from powerdns-admin.
I've created PR #42 for @ngoduykhanh to review, once accepted you can switch back to master. :)
from powerdns-admin.
Hi @ivanfilippov ,
Your changes look good to me. Thank you for the PR. Merged.
from powerdns-admin.
Related Issues (20)
- 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
- Update Pip Dependencies (Jinaj2, certifi, cryptography, requests, werkzeug) HOT 1
- Update NPM Dependencies HOT 1
- Documentation Fix: Azure Authentication Scope Setting HOT 1
- Bug: Docker Health Check Filling Sessions Table HOT 1
- LDAP Authentication Errors HOT 1
- Inconsequent search, add regexp into records
- Correct SAML Scope Documentation HOT 3
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.