Class: RubyYacht::DnsServer

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#search_domainsObject

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

#serversObject

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