-
Notifications
You must be signed in to change notification settings - Fork 142
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
Added the ip_hostname option when creating a jail #702
base: master
Are you sure you want to change the base?
Conversation
Note that this is only going to work if there are good DNS configuration and also if the hostname has been given correctly to the jail, which is not Bastille responsibility; actually, the user should take care if using this on a jail serving DNS. Why include this as a creation option and not let the user establish it using the |
Agreed. The user has full responsibility for running a working DNS solution. I tried with the
Goal of the last line is to remove the ip4 address from the config file, but the downside is that the last line boils down to
The config file is still functional, but not very pretty. I am not sure if there is a way to prevent this, any thoughts? |
OK. I don't want to close this PR since maybe anyone argues for that option at the creation time. Labeling now as "help wanted" if anyone wants to join the conversation. Let's also see what @cedwards thinks about this option. What I don't want is a plethora of issues in the future with the "sorry, it was DNS" as an answer. That said, you are pointing that the About the subsequent change of the Thanks for the feedback. |
The
ip_hostname
option allows the jail to resolve it's own IP address. This is very useful in cases where you run your own DNS resolver and ensures that IP addresses can be managed at a single location.The create subcommand documentation has been modified to reflect this change. In addition, the SLAAC and DHCP options are also added.