@@ -16,6 +16,8 @@ The URLs used for Shibboleth authentication and the DNS-Portal are specified at
An alternative to this program would be gaining AXFR access to the authorative DNS server, which has not been granted to us, yet.
*Update:* Due to the problems inherent with this approach as outlined above, I resorted to downloading RWTE^3H's `/etc/hosts` file, which is accesible without any login. It contains the necessary information in a less structured manner, so I added some support in `generate.py` to detect and work around that. Using the new `required` config option, one can eliminate all the irrelevant hosts in that file. This method is more stable and thus `zonedl.py` probably won't get fixed.
## `generate.py`
`generate.py` takes one or more zone files as input, reads some configuration file and generates and returns a SSH configuration file. This allows management of CNAME aliases and multiple A records and at the same time use consistent host keys and configuration options.
...
...
@@ -23,4 +25,3 @@ An alternative to this program would be gaining AXFR access to the authorative D
Currently, the possible options which one can configure is quite limited to the most pressing use cases of my config. This could be improved easily.
The configurations file lives either at `./sshgen.cfg` or the location given by `--cfg`. Select a preset with `--preset`. A sample configuration file is available. It configures the location of the zone file(s), the domain stripping and proxy presets, and the various rewriting/exclusion/aliasing/agent settings.