I have installed minishift on OSX with brew:
brew cask install minishift-beta
...
$ minishift version
Minishift version: 1.0.0
I have sucessfuly started minishift, and created node-ex example application and exported it:
$ oc get route
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
nodejs-ex nodejs-ex-myproject.192.168.64.2.nip.io nodejs-ex 8080-tcp None
However I can not reach .192.168.64.2.nip.io:
$ curl nodejs-ex-myproject.192.168.64.2.nip.io
curl: (6) Could not resolve host: nodejs-ex-myproject.192.168.64.2.nip.io
$ dig +short nodejs-ex-myproject.192.168.64.2.nip.io
$
All is working with minishift web console and oc command, but I can not reach the application domain.
Is something on your machine or network blocking DNS queries to
nip.io
?When playing with Minishift at home, where I am connected to the internet via Deutsche Telekom's VDSL and Speedport-Router, I cannot resolve these
xip.io
ornip.io
addresses.My workaround is to put
8.8.8.8
into/etc/resolv.conf
Thank you @enj. The explanation at http://nip.io is clear about how it works.
I have seen that queries to
8.8.8.8
and to my ISP DNS are resolved to my private IP. But it is my router (my primary DNS) which do respondnip.io
My router run DD-WRT and has enabled
then I add
nip.io
atand now I resolve queries: