Comments (6)
we plan supporting running microPCF in an offline configuration at some point in the near future, but we haven't prioritized supporting that just yet. if you're interested in experimenting on your own, i think you may be able to run a version of dnsmasq on your host that handles this.
i'm curious where you get 8.8.8.8
from. i checked my /etc/resolv.conf
running using VMware Fusion:
○ → vagrant ssh -c "cat /etc/resolv.conf"
nameserver 127.0.0.1
nameserver 172.16.139.2
search localdomain
Connection to 172.16.139.204 closed.
Which looks like after the consul DNS server, it goes to the host IP on the NAT interface (basically delegates to the Host to perform the DNS lookup). Is that where you have 8.8.8.8
configured as your DNS? This is where I think you could slip in DNSMasq as a custom resolver on the host to handle resolution for the local.micropcf.io
subdomain.
from pcfdev.
Do you mean our script copy from the host's resolv.conf, and write to the vagrant VM? Let me have a try on this. thx
from pcfdev.
Doing that would break microPCF by preventing services inside of it from finding each other.
David is saying that *.local.micropcf.io
needs to resolve to 192.168.11.11
on the host machine for microPCF to work properly. One way to accomplish this is by running dnsmasq on the host to create a wildcard CNAME record. See here.
from pcfdev.
Thx. But my /etc/resolv.conf in both vagrant vm, and app contriner is
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 10.0.2.2
How can I change that to point to my host dnsmasq?
from pcfdev.
10.0.2.2
is the host address, so your microPCF resolv.conf
is already configured to query port 53 on the host. Running dnsmasq on port 53 with the configuration described above may just work.
from pcfdev.
Change my resolv.conf to (dnsmasq before 8.8.8.8)
nameserver 127.0.0.1
nameserver 8.8.8.8,
bring vagrant up, the result in vagrant vm become
nameserver 127.0.0.1
nameserver 10.0.2.2
nameserver 8.8.8.8
Perfect. Thx Stephen!
from pcfdev.
Related Issues (20)
- Enabling nfs-volumes on PCF-DEV and / or PWS HOT 3
- Unable to register service broker with self-signed certificate HOT 2
- PCF-DEV and DELL ECS HOT 3
- Timed out waiting for the VM: rpc error HOT 13
- DELL ECS with PCFDEV HOT 2
- cf dev start fails HOT 7
- cf dev start: Failed to deploy the BOSH Director: Process exited with status 1 HOT 5
- pcfdev installation failed on Mac OS X version 10.13.6 HOT 5
- cf dev start stuck at 55, pcfdev ova ssl error on Windows with virtualbox environment. HOT 2
- PCDev Stale version of Bosh/PAS?? HOT 2
- vb ù ù HOT 1
- vb ù ù HOT 1
- vb ù ù ù HOT 1
- vb ù ù ù HOT 1
- vb ù ù ù HOT 1
- unable run the pcf dev -f filepath giving new object error in power shell HOT 2
- pcfdev scs fails to deploy. HOT 13
- pcfdev fails to deploy PAS HOT 2
- Download of PCF Dev v1.3.0 for PAS 2.5.7 not possible HOT 3
- [PCF-Dev v1.3.1]: Deployment of Spring Cloud Services (SCS) fails again - Service broker error: Could not find an available leader HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcfdev.