47 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Code structure and general note
 | 
						|
 | 
						|
Right now, the code is still in a somewhat early stage and **multiple** refactoring should take place.
 | 
						|
 | 
						|
The code should be reviewed and a decent documentation should be provided.
 | 
						|
 | 
						|
Some code should be pushed in the [bulma purescript module][psbulma].
 | 
						|
 | 
						|
The entire state of the application *could* be moved into a single module (or *component*).
 | 
						|
Thus, every state modification can be handled in a single place.
 | 
						|
 | 
						|
Explanations and static content in general could be written using some kind of templates, not directly in Halogen.
 | 
						|
 | 
						|
# Features
 | 
						|
 | 
						|
- new RR record: the "delegation record", effectively removing all other RRs, which should require 2 nameservers
 | 
						|
- **MAYBE**: also enable to change NS records (but after a accepting the consequences)? (could be unnecessary due to delegation)
 | 
						|
- zone-wise indications to help people configure their zone for specific uses (web, mail)
 | 
						|
 | 
						|
About the admin interface:
 | 
						|
 | 
						|
- display details about users
 | 
						|
 | 
						|
# Tests
 | 
						|
 | 
						|
Check for common errors:
 | 
						|
 | 
						|
- nodes with both a CNAME and another RR
 | 
						|
- verify that SPF mechanisms point to available records
 | 
						|
 | 
						|
More specialized tests or debug options:
 | 
						|
 | 
						|
- verify the length of received messages in `App.Message.IPC`
 | 
						|
- MAYBE: run `named-checkzone` on the generated zone and provide the result in case of an error
 | 
						|
 | 
						|
# Display
 | 
						|
 | 
						|
- say that there is no IPv6 on the server at the moment, so there is no point doing IPv6 address updates
 | 
						|
- hide logs by default?
 | 
						|
 | 
						|
# TODO in authd and dnsmanagerd
 | 
						|
 | 
						|
- implement proper delegation
 | 
						|
- **MAYBE**: enable users to modify their *protected-by-read-only* NS entries (could be unnecessary due to delegation)
 | 
						|
- MIGRATION-related: remove migrated accounts with no connection in over 6 months
 | 
						|
 | 
						|
[psbulma]: https://github.com/KaneRoot/purescript-bulma
 |