logo
  • Blog
  • The Cloud
  • DevOps
  • Trending
    • Blockchain
    • Bitcoin
  • How To
  • Kubernetes

 

  • Introduction to Kubernetes
  • Kubernetes Introduction
  • Container Introduction
  • Kubernetes Setup
  • Local Setup with Minikube
  • Minikube Demo
  • Kubernetes using the Docker client
  • Minikube vs Docker Client vs Kops vs Kubeadm
  • Introduction to Kops
  • Demo: Preparing Kops install
  • Demo: DNS Troubleshooting
  • Demo: Cluster setup on AWS using kops
  • Building Docker containers
  • Demo: Building docker containers
  • Docker Image Registry
  • Demo: Pushing Docker Image
  • Running first app on Kubernetes
  • Demo: Userful commands
  • Service with LoadBalancer
  • Demo: Service with AWS ELB LoadBalancer
  • Kubernetes Basic
  • Node Architecture
  • Replication Controller
  • Demo Replication Controller
  • Deployments
  • Demo: Deployments
  • Services
  • Demo: Services
  • Labels
  • Demo: NodeSelector using Labels
  • Healthchecks
  • Demo: Healthcheck
  • Readiness Probe
  • Demo: Liveness and Readiness probe
  • Pod State
  • Pod Lifecycle
  • Demo: Pod Lifecycle
  • Secrets
  • Demo: Credentials using Volumes
  • Demo: Running WordPress on K8s
  • WebUI
  • Demo: Web UI in Kops
  • Demo: WebUI
  • Advanced Topic
  • Service Discovery
  • Demo: Service Discovery
  • ConfigMap
  • Demo: ConfigMap
  • Ingress Controller
  • Demo: Ingress Controller
  • External DNS
  • Demo: External DNS
  • Volumes
  • Demo: Volumes
  • Volumes Autoprovisioning
  • Demo: WordPress with Volumes
  • Pod Presets
  • Demo: Pod Presets
  • StatefulSets
  • Demo: StatefulSets
  • Daemon Sets
  • Resource Usage Monitoring
  • Demo: Resource Usage Monitoring
  • Autoscaling
  • Demo: Autoscaling
  • Affinity / Anti-Affinity
  • Demo: Affinity / Anti-Affinity
  • Interpod Affinity and Anti-Affinity
  • Demo: Interpod Affinity
  • Demo Interpod Anti-Affinity
  • Taints and Tolerations
  • Demo: Taints and Tolerations
  • Custom Resource Definitions (CRDs)
  • Operators
  • Demo: postgresql-operator
  • Kubernetes Administration
  • The Kubernetes Master Services
  • Resource Quotas
  • Namespaces
  • Demo: Namespace quotas
  • User Managements
  • Demo: Adding Users
  • RBAC
  • Demo: RBAC
  • Networking
  • Node Maintenance
  • Demo: Node Maintenance
  • High Availability
  • Demo: High Availability
  • TLS on ELB using Annotations
  • Demo: TLS on ELB
  • Packaging and Deploying on Kubernetes
  • Introduction to Helm
  • Demo: Helm
  • Creating your own Helm Charts
  • Demo: Creating your own Helm Charts
  • Demo: Nodejs app Helm Chart
  • Demo: Setting up a Helm Repository on S3
  • Demo: Building and Deploying Helm Charts with Jenkins
  • Serverless on Kubernetes
  • Introduction to Serverless
  • Introduction to Kubeless
  • Demo: Creating Functions with Kubeless
  • Demo: Triggering Kubeless Functions with Kafka
  • Microservices
  • Introduction to Istio
  • Demo: Istio Installation
  • Demo: An Istio enables app
  • Demo: Advances routing with Istio
  • Installing Kubernetes using kubeadm
  • Introduction to kubeadm
  • Demo: kubeadm (Part 1)
  • Demo: kubeadm (Part 2)
  • On-Prem or Cloud Agnostic Kubernetes
  • Managing TLS Certs with Cert-Manager
  • Demo: Cert-Manager (Part 1)
  • Demo: Cert-Manager (Part 2)

Demo: DNS Troubleshooting

This article is targeting DNS troubleshooting. Kops need to have DNS working properly, otherwise you cannot start your cluster or sometime you can start your cluster but you will be not be able to connect to it.

So, this article will explain, how to troubleshoot DNS.

On the machine, where you have installed kops. You need to install `bind9-host` tool using below command:

$ sudo apt install bind9-host

Now you can use executable host.

To check NS is properly set, use below command:

$ host -t NS

$ host -t NS k8s.timesofcloud.com

Above command should return the name server of sub-domain (k8s.timesofcloud.com) is pointing to Route53 zones. If it does not return the Amazon name servers, then something is not working.

You need to create a new Record Set in your master domain, and add sub-domain NS in it.

  • Previous page
  • Next page

 389 total views,  1 views today

Demo: DNS Troubleshooting was last modified: December 26th, 2019 by Sushil Verma
Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email

Latest Blogs

  • Linux: Viewing Log Messages
  • AWS CodeBuild: Getting Started
  • AWS CodeCommit: Set up Notifications
  • AWS CodeCommit: Securing The Repository and Branches
  • Managing Systemd units in Linux

Tags

Amazon EC2 AWS bash_shell bitcoin blockchain Cloud computing CodeCommit DevOps digital currency Kubernetes Linux trending ubuntu

For Improving Education

Categories

  • Amazon EC2
  • Amazon Web Services
  • AWS
  • AWS CodeCommit
  • Bash shell
  • Best Practices
  • Bitcoin
  • Blockchain
  • Chaincode
  • CLI
  • Cloud Computing
  • Cloud Security
  • CodeBuild
  • CodeCommit
  • CryptoCurrency
  • Cryptography
  • DevOps
  • Digital Currency
  • EC2 Lambda
  • Hyperledger
  • IBM Bluemix
  • IBM Garage
  • Kubernetes
  • Linux
  • Monitoring
  • OpenStack
  • Platform as a Service
  • TDD
  • Trending
  • Ubuntu
  • Virtual Server
Home | Site Map | Privacy Policy | Site Terms | Terms of use @2013, Times of Cloud.
The content is copyrighted to 'Times of Cloud' and may not be reproduced on other websites.