Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gedalya #2

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Gedalya #2

wants to merge 15 commits into from

Conversation

gadall
Copy link

@gadall gadall commented Jun 16, 2015

Various enhancements.

To Do:

  • Apply updates to postgres sql schema
  • Implement upgrade routine
  • Delete zone files from slaves. Currently a zone can be removed and re-added with a lower serial (e.g. re-added on same day) and the slave won't transfer it because it has the pre-existing file with higher serial.

gadall added 15 commits June 7, 2015 22:01
	+ Added slave management
	+ Proper SRV support
	+ Per-record TTL
	+ Arbitrary-length TXT records
	+ Escape HTML characters in TXT (sourceforge bug #36)
	+ Added tertiary NS
	+ Separate Negative TTL in SOA record
	* Add zone now redirects to zone edit page
	* Fixed zonelist error when coming from login page
	This is admittedly over the top. Reasoning follows:
	To reliably delete a zone file, we need to reload the config first
	with the deleted zones removed. For example, if BIND is restarted,
	it will re-create missing files for zones it is still configured to
	carry. For this reason, I moved zone file deletion to commit.php.
	Since we are only doing this at commit, we could be deleting many
	zones. We need to SSH into multiple hosts, and delete several files
	on each. For this to complete in a reasonable time frame, it is best
	to use xargs. xargs also provides the safety of its -0 option. Now I
	have a reasonable-sounding excuse to write some fancy and fun non-
	blocking I/O code to solve a trivial problem ;-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant