Feature Request: Automatic Registration of VM Names as DNS Records
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
## Feature Details:
1. **Automatic DNS Registration**: When enabled, the VM's name should be automatically registered as a DNS record under appropriate conditions. The conditions might depend on the network mode, IP address assignment method, or other factors relevant to UTM's virtualization environment.
1. **Effect of the Feature**: Upon activation of the feature and meeting the appropriate conditions, a new record would be created in the host's `/etc/hosts` file. This would link the VM's IP address to its name, making it accessible by name from the host or other VMs.
1. **Configuration Flexibility**: Users should have the ability to enable or disable this feature based on their requirements. Disabling this feature would prevent any new DNS records from being created for the VMs.
1. **DNS Name Specification**: The DNS name used in the DNS configuration should ideally come from the VM's configuration. The feature should prioritize the name specified within the UTM app's configuration for the VM.
1. **Record Maintenance**: This feature should also include intelligent handling of the DNS records, such as when to create or delete the records based on VM's lifecycle events. The mechanism should ideally consider both normal and abnormal VM termination events to maintain accurate and efficient DNS records.
This feature could significantly improve UTM's usability in multi-VM environments. Thank you for considering this feature request.
Contributor guide
Assessment
This issue has not been assessed yet.