# Problem with dns in kibana - lb

**URL:** <https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235>\
**Category:** Elasticsearch\
**Created:** [June 15, 2022, 8:05am UTC](https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235 "2022-06-15T08:05:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frida](https://avatars.discourse-cdn.com/v4/letter/f/57b2e6/32.png) [@Frida](https://discuss.elastic.co/u/Frida)\
**Post date:** [June 15, 2022, 8:05am UTC](https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235/1 "2022-06-15T08:05:28Z")

</div>

Hi,  
this is my kibana yml file:

```auto
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: quickstart
spec:
  version: 7.6.2
  count: 1
  elasticsearchRef:
    name: cdbridgerpayelasticsearch
  http:
    service:
        spec:
            type: LoadBalancer
    tls:
      selfSignedCertificate:
        subjectAltNames:
        - ip: 160.46.176.15
        - dns: hulk.example.com

```

It ran very well:

> $ kubectl get kibana  
> W0615 07:40:37.541308 812 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.  
> To learn more, consult [https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke](https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke)  
> NAME HEALTH NODES VERSION AGE  
> kibana 7h11m  
> quickstart green 1 7.6.2 16h  
> quickstartcd green 1 7.6.2 7m52s

I can access the kibana with the external ip:

> kubectl get svc  
> W0615 07:35:53.700904 793 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.  
> To learn more, consult [https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke](https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke)  
> NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE  
> cdbridgerpayelasticsearch-es-default ClusterIP None 9200/TCP 16h  
> cdbridgerpayelasticsearch-es-http ClusterIP 10.4.5.165 9200/TCP 16h  
> cdbridgerpayelasticsearch-es-internal-http ClusterIP 10.4.11.236 9200/TCP 16h  
> cdbridgerpayelasticsearch-es-transport ClusterIP None 9300/TCP 16h  
> kubernetes ClusterIP 10.4.0.1 443/TCP 17h  
> quickstart-kb-http LoadBalancer 10.4.6.250 35.202.76.151 5601:32471/TCP 16h  
> **quickstartcd-kb-http LoadBalancer 10.4.11.58 35.225.81.200 5601:30239/TCP 3m9s**

[the screen](https://mail.google.com/mail/u/0?ui=2&ik=fb202b4c3e&attid=0.1&permmsgid=msg-a:r-3109418051075684290&th=181665cf7cf98d50&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ8cw6apWfIcg50RQ_5mfyxg2JyNpJhXSwg59TLPcUghaHK6PCSJkw2Uaj_tiPzH_WItGIhJ24cxVW50qqpdBPUoxNKjcDEK9g0ndd0QOLD52QpM_wv8qRCJAr8&disp=emb&realattid=ii_l4fau7u70)

but,  
I cant access with the dns:

[image of the screen with the hostname](https://mail.google.com/mail/u/0?ui=2&ik=fb202b4c3e&attid=0.1&permmsgid=msg-a:r-770427817372582250&th=18166663ff773809&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ9brs14h5LzIOk_ILtMX-4OmAXv57nrFZ4OnXADx5zi93JulO9-96Q6pP-55uQF7yakygJWN9fyultYaVotNkD8o8NsHS57QsjQeBYRNuAbobnIvpO77D3NTOw&disp=emb&realattid=ii_l4fb7a1v0)

what can I do?  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 13, 2022, 8:06am UTC](https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235/2 "2022-07-13T08:06:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
