class RubyYacht::DnsServer::DSL
This class provides a DSL
for configuring DNS server options.
You can access this by calling ‘dns_server` within RubyYacht::Project::DSL
. It will create a RubyYacht::DnsServer
.
Public Instance Methods
search_domain()
click to toggle source
You can call ‘search_domain ’apps.test.com’‘ to add `apps.test.com` to the list of domains that we automatically search for in the DNS.
# File lib/ruby_yacht/dsl/dns_server.rb, line 33 add_list :search_domain
server()
click to toggle source
You can call ‘server ’1.2.3.4’‘ to add `1.2.3.4` to the project’s list of DNS servers.
# File lib/ruby_yacht/dsl/dns_server.rb, line 27 add_list :server