landrush 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec605e64f20e01e018e99697a30959d6e853e08c
4
- data.tar.gz: 9f277d17166bf5519773ef74a504a54599624ddf
3
+ metadata.gz: 31a10b90a70d8404fbed3044066323382600826b
4
+ data.tar.gz: 4455aef5af2dfc204a7612897f400c60f9bf786b
5
5
  SHA512:
6
- metadata.gz: 8b0f812b769d51e99b15402c0a8caf65e901f1b6055b1dbe4e1e788cfd1f1a4125a2337a9b67b667ab312186dc4b41da51b61261fcb5b4f9893881745bdde15f
7
- data.tar.gz: 045f68ee5fd1ab4aea77c88a8ef53f16be68c415f97bf9763a406cd2ba3b1384cc0a0f7d21948a3feab29575e87e5bef68a5b25f0fed80d06ac80a2202050e5a
6
+ metadata.gz: 016a6c53d68daaea9fd7ee7a918c14c02d7b7f84bf271011c2029cdb8882fd973f3e6b1d3a3b825141187d32f7099b3547fef403eec32fafe7500183d14e5694
7
+ data.tar.gz: ad09ecd2eb80a60d12fad7c80a94014f4b2eebc5cf9379f7a6730992c0924bea1d5eeeac4be884eba1a21e1a54598cb73597c191328a2b1455878b18a4871f19
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # Can't use `gemspec` to pull in dependencies, because the landrush gem needs
4
4
  # to be in the :plugins group for Vagrant to detect and load it in development
5
5
 
6
- gem 'rubydns', '0.7.0'
6
+ gem 'rubydns', '0.7.3'
7
7
  gem 'rake'
8
8
 
9
9
  # Vagrant's special group
data/README.md CHANGED
@@ -93,6 +93,12 @@ Similar behavior can be achieved on Linux hosts with `dnsmasq`. You can integrat
93
93
 
94
94
  If you use a TLD other than the default `vagrant.dev`, replace the TLD in the above instructions accordingly. Please be aware that anything ending in '.local' as TLD will not work because the `avahi` daemon reserves this TLD for its own uses.
95
95
 
96
+ ### Visibility on other Devices (phone)
97
+
98
+ You might want to resolve Landrush's DNS-entries on *additional* computing devices, like a mobile phone.
99
+
100
+ Please refer to [/doc/proxy-mobile](/doc/proxy-mobile) for instructions.
101
+
96
102
  ### Additional CLI commands
97
103
 
98
104
  Check out `vagrant landrush` for additional commands to monitor the DNS server daemon.
@@ -0,0 +1,48 @@
1
+ # Resolve Landrush-entries on a mobile device
2
+
3
+ For your mobile phone to access VM-hosts two conditions need to be met:
4
+ - Your VM *needs to be accessible* from the network your phone's on (configure a [public network](http://docs.vagrantup.com/v2/networking/public_network.html)).
5
+ - The phone should query Landrush to resolve DNS entries.
6
+
7
+ Most smartphones allow you to configure a custom DNS server (instructions further below).
8
+ But unfortunately some don't allow you to configure a DNS server running on port 10053.
9
+
10
+ To work around that one can proxy queries to the default port 53 with a system-wide DNS server to Landrush.
11
+
12
+ ## Proxy bind to your landrush server
13
+ The DNS-server `bind` can be installed with [homebrew](http://brew.sh/) on OS X.
14
+
15
+ In its configuration file forward all queries to your local Landrush and disable caching:
16
+
17
+ options {
18
+ directory "/usr/local/var/named";
19
+
20
+ forwarders {
21
+ 127.0.0.1 port 10053;
22
+ };
23
+
24
+ max-cache-ttl 0;
25
+ max-ncache-ttl 0;
26
+ };
27
+
28
+
29
+ After restarting bind you should be able to resolve your VM's entries on your local default DNS server (port 53):
30
+
31
+ $ dig -p 53 @localhost myhost.vagrant.dev
32
+
33
+ ## Configure DNS server on your mobile phone
34
+ Set your bind server's IP address as the DNS server on your external device.
35
+
36
+ How to set the DNS server on iOS:
37
+
38
+ 1. Open *Settings* > *Wi-Fi*
39
+ 2. Tap the *i*-icon next to your network
40
+ 3. Tap the *DNS*-row and edit the value
41
+
42
+ How to set the DNS server on Android 4:
43
+
44
+ 1. Open *Settings* > *Wi-Fi*
45
+ 2. Tap and hold your network, then chose *Modify network*
46
+ 3. Check *Show advanced options*
47
+ 4. Under *IP Settings* tap *DHCP / Static* and change the value to *Static*
48
+ 5. Change the *DNS 1* value and tap *Save*
data/landrush.gemspec CHANGED
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
29
29
  spec.require_paths = ['lib']
30
30
 
31
- spec.add_dependency 'rubydns', '0.7.0'
31
+ spec.add_dependency 'rubydns', '0.7.3'
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Landrush
2
- VERSION = "0.14.0"
2
+ VERSION = "0.14.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landrush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Hinze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-18 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubydns
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.0
19
+ version: 0.7.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.7.0
26
+ version: 0.7.3
27
27
  description: |
28
28
  Forget about IPs in Vagrant - Automated DNS for your VMs
29
29
 
@@ -49,6 +49,7 @@ files:
49
49
  - doc/img/osx.png
50
50
  - doc/img/ubuntu.png
51
51
  - doc/img/vbox.png
52
+ - doc/proxy-mobile/README.md
52
53
  - doc/support/seqdiag.fontmap
53
54
  - doc/vagrant_dns_without_landrush.diag
54
55
  - doc/vagrant_dns_without_landrush.svg