Skip to main content

Questions tagged [dns]

The Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a private network.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Contact Service DNS from another subnet of Kubernetes Cluster

I have a Kubernetes Cluster with its VNet and in the Kubernetes Cluster VNet I have two (or more) subnets: aks-subnet with 10.224.0.0/16 where PODs are taking their IPs (default / created with ...
2 votes
1 answer
114 views

Apex domain to point to an Openshift ROSA application

We have a ROSA (Openshift on AWS) cluster, working fine with all kinds of domains except one, which happens to be an apex of the Hosting Zone in our Route53. So, say, the domain is example.com and it'...
1 vote
2 answers
526 views

How to setup ExternalDNS on Microk8s cluster?

I have a Highly Available, 3 nods, Microk8s cluster with MetalLB and Ingress. The cluster is supposed to serve a website with high availability. I want to enable ExternalDNS for the website with the ...
0 votes
1 answer
74 views

Azure Kubernetes pod is inaccessible from another pod

Internally we have a Spark Executor and Spark Driver running in Kubernetes. When you run a Spark Job in Kubernetes, Spark will create 2 types of pods Spark Drivers and Spark Executors. The Spark ...
0 votes
1 answer
35 views

How to not create wildcard records using External-DNS?

I am now setting up External DNS to automate the DNS records creation on AWS Route53 for EKS Ingresses. I now have a working setup that can create and delete records depends on ingress existence. ...
1 vote
1 answer
79 views

How can I find out what ml2 extension drivers are enabled?

According to this document on "The Networking service internal DNS resolution", a feature I need requires the dns extension driver in OpenStack, [ml2] extension_drivers = port_security,dns ...
1 vote
1 answer
48 views

How can I free up the Azure default domain name for use in another web app?

TL;DR: Is there any way to delete the default domain for an Azure web app? I want to reuse the domain name with a different app. I need to take over the administration and start paying the bills for ...
0 votes
0 answers
241 views

Cannot solve specific dns record on kubernetes (coredns / nodelocaldns)

I hit a weird problem with coredns/nodelocaldns, basically I can't resolve a specific dns record for a domain. The record is www.digicert.com , it answers correctly tho if I dig with +tcp or use ...
0 votes
0 answers
178 views

How to configure docker with pihole for recursive DNS?

I am running Ubuntu 22.04 LTS server for my server where I use Docker to run various applications. Afterwards I installed unbound and Pihole for Recursive DNS. I changed the Nameserver in the host ...
1 vote
3 answers
2k views

Trick a docker containers DNS to resolve a different url

I am not sure I know the terminology to describe this correctly, my apologies. But for a contrived example. Say I have a docker container that runs code that accesses "google.com". But I want all ...
0 votes
1 answer
154 views

How frequently is AWS Route 53 DNS Latency-Based Routing (LBR) recalculated for a given user?

Does anybody know how frequently one could expect Route 53's latency-based routing data to change for a given user? For example, if I have Route 53 LBR setup with CloudFront sitting in front of 2 ...
0 votes
2 answers
460 views

dev/stage/prod in separate AWS accounts, managed via terraform cloud workspaces, how can I use lb ip in DNS records for each env?

We currently have 4 aws accounts: root - consolidated billing, domain purchased via route 53 development staging production And they're all managed via terraform cloud as separate workspaces. in dev/...
0 votes
1 answer
3k views

Newly installed k3s cluster on fresh OS install can not resolve external domains or connect to external resources?

I'm following the k3s tutorial for troubleshooting DNS, after step 2 "Add KUBECONFIG for user.", if run this command, kubectl run -it --rm --restart=Never busybox --image=busybox:1.28 -- ...
0 votes
1 answer
328 views

Server-side Gitlab URL rewriting?

Our old BitBucket server had a URL like this, https://bitbucket.acme.net/scm/acmegroup/acme-project.git And, we're wanting to move to GitLab with a DNS switch which has a different URL-convention ...
0 votes
1 answer
570 views

Does an FQDN on OpenStack mean there must be a resolver for it?

When I look at different resources on OpenStack, I see a FQDN's like this, host-10-2-67-96.openstacklocal. host-2620-0-28a4-4140-f816-3eff-fefd-6381.openstacklocal. I see this for ports and for NOVA ...
0 votes
1 answer
271 views

How do you enable the DNS extension to ml2 in OpenStack?

In one doc it says, To enable the internal DNS resolution, the neutron-server service must be configured with the dns_domain config option set to a value other than openstacklocal in neutron.conf ...
1 vote
1 answer
1k views

Access to k3s DNS from host

I have a single node k3s "cluster" with few Services on it. Whenever I want to access to one of them, I'm forced to either do a port-forward or a describe (and get the endpoint, but it ...
1 vote
1 answer
20 views

How can you map DNS/host names to their IPs at scale?

We're trying to look at a fairly large httpd config and find the all the IPs/ports we'd have to allow through a new firewall. Ports are easy, but resolving all the DNS names to the (multiple) IPs they ...
3 votes
1 answer
746 views

Point docker container DNS to specific port?

I was wondering if it was possible to assign the DNS server a docker container is querying (via docker run --dns, or otherwise) to be on a specific port, something other than 53? I had built a custom ...
0 votes
1 answer
515 views

Drone is unable to clone GitHub Project

I'm trying to set up drone, but when running a build it fails at the clone step. I'm pretty sure this is a DNS issue and that I just configured the runner wrong, but I just can't figure it out. This ...
1 vote
1 answer
934 views

How to access a fully qualified domain name through "localhost"?

About nine minutes into a tutorial on ERPNext I followed directions as: root@mordor:/home/nicholas/git/frappe_docker# root@mordor:/home/nicholas/git/frappe_docker# cat .env LETSENCRYPT_EMAIL=nicholas@...
2 votes
1 answer
299 views

What are the advantages of using AWS nameservers as opposed to servers provided by other registrars?

I am transfering a domain name from namecheap to aws route 53 service. AWS provides you with three options when transfering: Continue to use the name servers provided by the current registrar or DNS ...
2 votes
1 answer
177 views

How to locally resolve host name starting with variable slug?

An app, running on my laptop in development mode, comprises several Docker containers, one of which runs a Django web app. This web app expects to receive HTTP requests using a hostname with a ...
-2 votes
1 answer
39 views

How to change Ip for a DNS

I'll be very direct. I'm tired to search this and do not found anything about it. There is any way to change a lan ip to a dns (not chaging 'hosts' file)? Example: I've a centOs running in machine A ...
0 votes
1 answer
344 views

What reasons should I NOT use a private DNS zone and CNAME services in my AWS/K8s environment?

I have a Kubernetes cluster in AWS, with apps that talk to AWS services like RDS, Elasticache, Elasticsearch, DynamoDB, etc. For the services where it's available (Elasticache and RDS, and more ...
1 vote
2 answers
145 views

DNS Issues with Cloud formation template

I am trying to automate the creation of an EC2 instance with CloudFormation but am running into issues with DNS. Once the instance is created it can't seem to resolve any hostnames. I try to ping a ...
0 votes
1 answer
737 views

Can't hit redis using DNS name in multi-container pod on Kubernetes

Can anyone shed some light on why this might not work? I can access redis just fine using the pod's IP address, $ rdcli -h 10.152.183.65 10.152.183.65:6379> but when I try to use the DNS name, I ...
0 votes
1 answer
205 views

Find relevant domain/hosted zone under which to host subdomain

Context In Terraform, to create a new domain record, I first need to find the zone under which it should be hosted. E.g. If I want to create a DNS record for mysite.example.com, I'd get the zone ...
1 vote
1 answer
63 views

AWS Setting instance to use domain from another account

We're transitioning between accounts and we have an app on our new account but we want to use the domain from our old account. We plan on shutting off the old account soon and transitioning everything ...
1 vote
1 answer
346 views

Why does running echo with exec form in a Dockerfile create /etc/resolv.conf?

I was trying to build a Docker image from a Dockerfile and I had a line in there which reads: RUN ["echo", "'anything'", ">", "./a_file"] This didn't work, and I eventually had to use: RUN ["sh",...
2 votes
2 answers
307 views

Does Kubernetes internal networking keep traffic to co-located Pods where possible?

In Kubernetes, if I run a Service Foo on every Node, and also Service Bar on every Node, i.e. with DaemonSets. If a Pod from Service Foo needs to make a request to Service Bar, does Kubernetes ...
2 votes
1 answer
100 views

Docker Containers fails to DNS resolve on subnet 10.0.2.0/24

The ultimate problem I am facing is this: [root@527eb70c04c9 my-service]# ping google.com ping: google.com: Name or service not known Inside my container, I can't resolve public domains, although ...
1 vote
1 answer
23 views

Where do I set that agent certificate for Puppet on Amazon Linux?

I am using: Puppet server version: 1.2.0 Amazon Linux 2 I have master and agent set in /etc/puppet/puppet.conf and currently I get back only the certificate for the master on the master. The agent's ...
2 votes
1 answer
597 views

service-to-pod communication is broken in kubernetes

I have an in house 5 node cluster running on bare-metal and I am using Calico. The cluster was working for 22 days but suddenly it stopped working. After investigating the problem I found out that the ...
0 votes
1 answer
157 views

Route53 DNS records stopped resolving

Last week, my TXT and other DNS records on Route53 stopped resolving: https://dnschecker.org/#TXT/thuijls.net The entries are set like: What else could be missing here? As far as I'm aware, nothing ...
1 vote
1 answer
257 views

Route53 Routing Policies - Best Policy for US-based Ecommerce?

When I look over the documentation for Route 53 Routing Policies they list 7 different policies. How should I pick the right one if I am building out new infrastructure in AWS for a US-based e-...
1 vote
1 answer
2k views

Sub-subdomain Domain name for different environment

If we have two components in a API api front-end and we have three environments staging qa development and a domain name superproduct.com What would be the most logical domain spacing: http://...
2 votes
2 answers
2k views

docker build throws UnknownHostException with jenkins dind slave + kubernetes plugin

So Jenkins is installed inside the cluster with this official helm chart. And this is my installed plugins as per helm release values: installPlugins: - kubernetes:1.18.1 - workflow-job:2.33 ...
1 vote
2 answers
670 views

Cloudfront for ELB, automatic redirection

I have a question regarding a redirect (302) that happens when accessing the /admin panel of my Craft CMS application. I've setup CloudFront for my app that runs on Craft 3. DNS points to CF (CNAME), ...
1 vote
2 answers
60 views

Issue with custom domain SSL certification

We are working on saas application which is hosted on app.example.com. Now we are trying to give the option to the users where their own domain or sub domain like dev.stack.com point to my application ...
0 votes
1 answer
691 views

kubernetes statefulset - communicate addresses of other pods when pod launches?

Is there some metadata that I can apply, or some DNS that I can query, such that when a pod is started, the addreses of all the other pods in that statefulset will be somehow made available to the ...
1 vote
1 answer
3k views

Using Amazon VPC provided DNS trough AWS Site-to-Site VPN

Currently I have an AWS VPC connected to our corporate network using AWS Site-to-Site VPN. I can reach my EC2 instances trough the tunnel by their private IP Address. Inside the VPC each EC2 ...
0 votes
1 answer
850 views

Terraform: Route53, LB and CDN interdependencies

My team uses Terraform to deploy the necessary infrastructure. Currently, our stack is composed of: AutoScalingGroup fronted by a Load-Balancer, and a Route53 DNS record that points to this LB; We ...
1 vote
1 answer
202 views

Rancher, Load Balancing and own domain

I have a question about rancher. I'm running my rancher on aws. I have created a new cluster with two nodes (workers) and I have deployed my docker images. Now I wanted to add Load Balancer, but I don'...
1 vote
2 answers
3k views

Accessing External REST api From Wthin Kubernetes Cluster

This is my first foray into Kubernetes land... I'm still pretty shaky on how things work and still wrapping my head around some of the concepts so please bear with me there. The application I am ...
3 votes
2 answers
10k views

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: ...
-1 votes
1 answer
773 views

Accessing container by domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
0 votes
1 answer
218 views

DNS server with api access

Experts, i have a requirement and wanted to find a tool that will be helpful for me. We have a inhouse tool, that will help developers request/lease a VM for a short duration of time. When the VM is ...
2 votes
2 answers
1k views

DNS hosting choices - how to programmatically update DNS settings

I manually update the DNS settings at the registrar for my domains, such as https://domains.google.com/registrar What are people using to automate updates to DNS settings? which registrars have an ...
3 votes
1 answer
629 views

Blue/green deployment with micro services and DNS

Currently, we have on our test environment an ECS Cluster with micro services deployed. All micro services are talking to each other through Route53 DNS CNAMEs like service1.company.com, service2....