DNS Editor working with PowerDNS's new API. https://dns.ostreff.info
Find a file
2016-11-18 17:00:18 +01:00
css Fix CSS issues to eliminate whitespace with vertical menubar 2016-08-24 15:49:39 +02:00
doc Allow pdns 4.0 users to use nsedit as well, by allowing to set the API version 2015-12-17 10:04:54 +01:00
img Implement logging. Closes #67 2016-08-05 11:57:04 +02:00
includes Try to set soa_edit_api, if it is not yet set 2016-10-25 12:14:07 +02:00
jquery-ui Merge commit '7f7c9b378f0bb34a7414736c047ee6616a383fe8' as 'jquery-ui' 2016-08-05 12:57:52 +02:00
js/addclear Merge commit 'c854a8c29bf55e07cc1a2412c568a245f4e7ed74' as 'js/addclear' 2016-08-05 12:42:31 +02:00
jtable Merge commit '5500cf75c004255bd2d4ede59c4a6534b1a5acb1' as 'jtable' 2016-08-05 12:52:54 +02:00
screenshots Add screenshots 2014-10-02 15:40:15 +02:00
.gitignore Update .gitignore 2016-09-17 15:27:29 +02:00
.gitmodules Update .gitmodules 2014-07-03 16:44:39 +02:00
Dockerfile Added comment 2015-10-07 18:57:27 +03:00
index.php Add missing types. Closes #130 2016-11-03 10:11:24 +01:00
LICENSE Squashed 'js/addclear/' content from commit 25686e8 2016-08-05 12:42:31 +02:00
logs.php Merge remote-tracking branch 'origin/master' into issue-107 2016-08-26 10:00:51 +01:00
README.md Add notes about configuring PowerDNS 2016-08-06 00:30:54 +03:00
rotate-logs.php Remove jtable_respond from the CLI script. 2016-08-24 14:38:03 +01:00
users.php Modified users jtable to use id & fixed user deletion. 2016-09-20 10:10:54 +01:00
zones.php Fix quoting of TXT and SPF records 2016-11-18 17:00:18 +01:00

What is nsedit?

nsedit is a DNS editor for PowerDNS. It is created to finally replace poweradmin and take DNS editing to what we're used at in 2014. It uses the PowerDNS API to make changes in your zones, so you can use the backend that you want, no matter what.

Features

  • Import BIND- or AXFR-style dumps of your existing zones
  • Add/remove zones and records
  • Clone zones
  • Show the DNSsec details of a zone
  • Multiple user support
  • Allow logging of all actions in NSEdit, including exporting the log in JSON-format
  • [experimental] nsedit API, to create zones from another system

User support

Multiple users are supported. A user can be an admin or a normal user. You can configure wheter or not a normal user is allowed to add new zones.

WeFact Login support

WeFact is A hosting billing product. nsedit can authenticate against the WeFact API, which allows your customers to login on nsedit with their WeFact credentials. It will automatically show their domains and allow them to edit them.

Requirements

  • A webserver running php
  • php sqlite3
  • php curl
  • php with openssl support
  • PowerDNS with the JSON-api enabled. Version 4.0.0 or greater

Installing

  • Via Git

    • Run git clone in the directory where you want to run nsedit from : git clone https://github.com/tuxis-ie/nsedit.git

    • Select tag v1.0 or skip this if you want to run from master : git checkout tags/v1.0

  • Via releases

  • Copy includes/config.inc.php-dist to includes/config.inc.php and edit config.inc.php to your needs.

  • By default, nsedit writes its user database to ../etc/pdns.users.sqlite3. Be sure that your webserver can create that directory and write to it.

  • Visit http(s):///nsedit/ and login with admin/admin (Don't forget to update your password!)

Have fun ;)

Configuring PowerDNS

Minimal cofiguration of PowerDNS for supporting nsedit has to include 3 directives:

webserver=yes
api=yes
api-key=SomeRandomString

Special note for Ubuntu Xenial Xerus 16.04 users: Default pdns package included in Ubuntu repositories has the version of 4.0.0-alpha2 and nsedit v1.0 doesn't work with it due to API incompatibility.

If your PowerDNS version is not the latest one, please consider adding PowerDNS repository to your system.

Detailed instructions for adding repository are available at http://repo.powerdns.com/

Screenshots

The login screen Master zones Slave zones