Module: VagrantPlugins::DNS
- Defined in:
- lib/lh-vagrant-dns.rb,
lib/vagrant-dns/env.rb,
lib/vagrant-dns/action.rb,
lib/vagrant-dns/config.rb,
lib/vagrant-dns/plugin.rb,
lib/vagrant-dns/command.rb,
lib/vagrant-dns/version.rb,
lib/vagrant-dns/dns_server.rb,
lib/vagrant-dns/env_helper.rb,
lib/vagrant-dns/action/setup_env.rb,
lib/vagrant-dns/action/stop_dns_server.rb,
lib/vagrant-dns/action/create_resolvers.rb,
lib/vagrant-dns/action/start_dns_server.rb,
lib/vagrant-dns/action/register_patterns.rb,
lib/vagrant-dns/action/create_daemons_dir.rb
Defined Under Namespace
Modules: Action, EnvHelper Classes: Command, Config, DNSServer, Env, Plugin
Constant Summary collapse
- VERSION =
"0.0.6"
Class Method Summary collapse
-
.listen ⇒ Array
Returns the default interfaces that a ruby dns server listens to.
- .namespace ⇒ Object
-
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
Class Method Details
.listen ⇒ Array
Returns the default interfaces that a ruby dns server listens to.
21 22 23 |
# File 'lib/lh-vagrant-dns.rb', line 21 def self.listen @listen ||= [[:udp, "127.0.0.1", 5300]] end |
.namespace ⇒ Object
25 26 27 |
# File 'lib/lh-vagrant-dns.rb', line 25 def self.namespace @namespace ||= "dns" end |
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
14 15 16 |
# File 'lib/lh-vagrant-dns.rb', line 14 def self.source_root @source_root ||= Pathname.new(File.("../../", __FILE__)) end |