Class: RubyYacht::DnsServer
- Inherits:
-
Object
- Object
- RubyYacht::DnsServer
- Defined in:
- lib/ruby_yacht/dsl/dns_server.rb
Overview
This class provides configuration for DNS servers for your apps.
This is optional. If you don't provide any DNS server configuration, we will use docker's default DNS configuration.
You can configure this with RubyYacht::DnsServer::DSL
Defined Under Namespace
Classes: DSL
Instance Attribute Summary collapse
-
#search_domains ⇒ Object
The domains that we use for default DNS lookup.
-
#servers ⇒ Object
The servers that we use for DNS.
Instance Attribute Details
#search_domains ⇒ Object
The domains that we use for default DNS lookup. Each entry is a String.
13 14 15 |
# File 'lib/ruby_yacht/dsl/dns_server.rb', line 13 def search_domains @search_domains end |
#servers ⇒ Object
The servers that we use for DNS. Each entry is a String.
10 11 12 |
# File 'lib/ruby_yacht/dsl/dns_server.rb', line 10 def servers @servers end |