redhat-openstack / openshift-on-openstack

A place to write templates, docs etc. for deploying OpenShift on OpenStack.
Apache License 2.0
136 stars 87 forks source link

DNS not responding #372

Open mahsa-frj opened 7 years ago

mahsa-frj commented 7 years ago

Hi, when i execute

 dig @192.168.0.6 +short kubernetes.default.svc.cluster.local

I get below output

;; connection timed out; no servers could be reached

and when execute

dig @192.168.0.6 +tcp openshift-lb.example.com
;; Connection to 192.168.0.6#53(192.168.0.6) for openshift-lb.example.com failed: connection refused.

how to resolve this problem? thanks in advanced

ioggstream commented 7 years ago

1- from where do you run this command? 2- you need an exernal DNS to run openshift-on-openstack. afaik these templates don't install a DNS on the loadbalancer no more.

mahsa-frj commented 7 years ago

@ioggstream thanks for your reply. 1- from my master node. I have 5 node: 1 node for bastion, 1 node for master, one node for infra and 2 node 2- I have external DNS

ioggstream commented 7 years ago

Which is the output of

bastion# grep -r dns /var/log/*

What's the 192.168.0.6 node?

What's the address of your DNS?

mahsa-frj commented 7 years ago

@ioggstream the output of grep -r dns /var/log/*:

log.txt

192.168.0.6 is ip addres of master node the ip address of my local dns in bastion node is 192.168.0.4