Set dns-search domains on Ubuntu guest

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Set dns-search domains on Ubuntu guest

Rod Oliver
Can anyone point to how I can set the dns-search domains on an Ubuntu guest? Ideally this would be done with an Ansible playbook that provisions the box.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/71ae9e4b-0e4a-4dcc-b72e-522aa6213a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Set dns-search domains on Ubuntu guest

Alvaro Miranda Aguilera
dns-search is a line in /etc/resolv.conf

that in ubuntu seems you can configure in /etc/network/interfaces




you can use shell or something like this:





On Tue, Aug 8, 2017 at 1:26 PM, Rod Oliver <[hidden email]> wrote:
Can anyone point to how I can set the dns-search domains on an Ubuntu guest? Ideally this would be done with an Ansible playbook that provisions the box.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/71ae9e4b-0e4a-4dcc-b72e-522aa6213a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exrKs_cDu2ASTnhF9ZbcGCD%3Dfs8jHp_qcd2X38bkLtawg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.