Questions tagged [dns]

DNS QUESTIONS MUST BE PROGRAMMING RELATED. Use this tag for programming questions related to writing code that interacts with the Domain Name System (DNS); for example, writing code that uses gethostbyname()

dns
Filter by
Sorted by
Tagged with
0 votes
0 answers
158 views

Error: getaddrinfo EAI_AGAIN when running in container

I'm having this error in my API when running my docker compose up. For some reason, the api cannot connect to the bank. Probably DNS error. My docker-compose.yml: networks: full-application: ...
victor-freitas's user avatar
0 votes
0 answers
15 views

Can bind9 (DNS server) be hooked? or create extension?

e.g. bind9 server is running at 127.0.0.1: $ dig mytest.com @127.0.0.1 # got this result: mytest.com A 1.1.1.1 Can I create an extension for bind9 to monitor the traffice? ( e.g. know there is ...
Siwei's user avatar
  • 20.8k
0 votes
4 answers
415 views

How to access Next.js Application from a fixed Hostname in Local Environment?

Let's say I have a Next.js Application. Which is working properly. The application is currently accessible through http://localhost:4000 or http://somehostname.local:4000 here, I have set 127.0.0.1 ...
D_Gamer's user avatar
  • 276
0 votes
2 answers
26 views

Significant Difference in Loading Time Between Original URL and Redirect

I'm new to web development and have encountered an issue with the loading times of my web app, which I'm hoping to get some help with. Background: I developed a web app accessible at https://solo-fsw....
Julian Karch's user avatar
0 votes
1 answer
116 views

AWS Certificate Manager - DNS validation on Hostinger failed [closed]

I'm trying to validate my Hostinger DNS on AWS Certificate Manager. I tried using e-mail validation method And it still failed Also, using validation by adding CNAME and value in my DNS Record like ...
Mikael's user avatar
  • 331
0 votes
2 answers
693 views

pip install {anything} is giving connection error?

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at ...
Aaditya Bannore's user avatar
0 votes
0 answers
59 views

golang net.LookupTXT returns 'no such host'

With go I get the message "no such host" when I try to get the TXT record of some hosts. I would have expected something like "No TXT record". Is the "no such host" ...
Skeeve's user avatar
  • 7,660
0 votes
0 answers
241 views

nslookup error: connection timed out; no servers could be reached

My Ubuntu is 20.04.6. Recently, I installed VPN, then I found I cannot connect to the Internet (even after I uninstalling it). I have tried all the methods, but with no luck. Following are commands: ...
szx's user avatar
  • 11
0 votes
0 answers
22 views

Dynamic hostnames with Bind9 reverse lookup

I'm wondering how it is possible to let bind9 generate IP-based hostnames for reverse lookup zones. For example, my ISP does this for his public IPs. 81.89.161.129 -> 81.89.161.129.suec-darcor.de I ...
Marcus J's user avatar
0 votes
0 answers
27 views

DNS_PROBE_FINISHED_NXDOMAIN error with webapp

yesterday I installed a webapp on an ubuntu server virtual machine with virtualbox and I could access it with the page "https://kaapana:443" with google chrome. Today I am with a different ...
Alessandro Molteni's user avatar
0 votes
0 answers
31 views

Why miniupnpc Python module throwing error on ufw activation

here my problem , i am trying to get my public ip address using a python module called : miniupnpc it is working fine using the following python code # pip install miniupnpc import miniupnpc u = ...
Ghost's user avatar
  • 1
0 votes
0 answers
23 views

Unable to Establish Internet Connection from Docker Container to the Internet

So I tried using phpmailer to send Mails from a contact form inside of a docker contaiener. It did not work, tried using busybox container and ping google.com. -> bad adress There was no connection ...
Andi Vogt's user avatar
0 votes
0 answers
94 views

I want to create a reverse proxy setup for my shopify store and link it to a subfolder (/shop) route in my current application

I have a store on shopify and i want to expose but i don't want to use a subdomain, i want to route it to a subfolder in my current web application. ideal flow when user goes to mydomain/shop it ...
Ayodeji's user avatar
  • 31
0 votes
1 answer
25 views

Redirect https://abc.ai to https://abc.co

I have two domains in cloudflare DNS - abc.ai and abc.co My main website is on abc.co So I want to redirect the user to https://abc.co whoever comes to https://abc.ai I tried creating a CNAME in DNS ...
Ninja-aman's user avatar
0 votes
0 answers
16 views

Point cPanel new account's domain to server

I had create a cPanel account by following this api. After account created, I able to login to the cPanel but this account's domain has SSL issue and the domain was unable to resolved. Domain Example :...
EQ0920's user avatar
  • 103
0 votes
0 answers
20 views

Wordpress Primary Site with IP Address instead of Domain Name

someone can help me with this. I created a new instance using a Snapshot in Lightsail, to be able to access to the website by SSH. The thing is that with this access, the url of the Wordpress Website ...
Andrea Peñaherrera's user avatar
0 votes
0 answers
30 views

i got 302 code on ahrefs, but i dont have any redirect on my site

hello im using wordpress for making sites, but my site have 302 error code and i dont have any redirection stuff on my site which is shown at ahrefs. when the site opened its really normal page ...
Sanji Ken's user avatar
0 votes
0 answers
21 views

DNS A record to external wordpress site, what do I set the "site url" to

Let's say I have a Wordpress site on example-domain.com and I want to host that website on another server that has the domain exampledomain.com (without the dash)? example-domain.com remains the host ...
Biels's user avatar
  • 342
0 votes
0 answers
23 views

DNS-related Latency Spikes in GKE Cluster with Cloudflare Proxy

I have created a Node JS cron job that sends requests to my production environment API endpoints every minute, records the response time of each request and sends the value of that response time along ...
Dren Sokoli's user avatar
2 votes
0 answers
92 views

Why can my Golang app inside docker container only connect to another server if using FQDN in URL?

I have a Ubuntu (22.04.3) VM I'll refer to as machine1 that is running Docker (community version 25.0.0). On machine1 I have a container that contains a Golang application. That application needs to ...
Dylan James's user avatar
0 votes
0 answers
30 views

How to point a domain to a subdomain from Laravel? (dns settings)

I have a app where each user can have their own store on a dedicated subdomain, for example: shop1.saas.app If I want a domain like myshop.com to point to a subdomain like sub.saas.app, how to do the ...
MoRamzani's user avatar
1 vote
1 answer
46 views

How to verify Azure App Service generated domain with Google Cloud Console?

Let's say I created an app service (Web App) in Azure, whether it is for a fronted side or backend API. A custom domain name is created for this service during setup. Along with it, I have Google ...
Artleks's user avatar
  • 172
0 votes
0 answers
18 views

DNS Routing Failover Route53 to deploy .NET Windows Service in Active/Passive manner

I am deploying a Windows Service written in ASP.NET 4.7 using CI/CD pipeline through GitHub Actions in Active/Passive mode. Here is the link for the workflow file: https://repost.aws/questions/...
Arjun Goel's user avatar
0 votes
1 answer
63 views

dns.lookup() Function keeps resolving host names as 0.0.0.0

I am writing a function that will return the IP address of a hostname using the lookup function in the dns Node.js library. Here is my function code: const dns = require('dns'); export function ...
Ben 's user avatar
  • 1
0 votes
0 answers
103 views

Custom domain feature for saas ecommerce product customers

I'm currently working on a SaaS product using React.js and Node.js where we provide subdomains to customers upon registration (e.g., subdomain.example.com). However, we've received feedback from some ...
d k's user avatar
  • 1
0 votes
0 answers
14 views

How to make DNS Server return different answers based on network availability?

I Have a Bind9 docker container acting as the DNS Server of my network, I want this behavior when bind9 is asked about example.com: If (Network is available): ask from 8.8.8.8 about example.com If (...
Navid777's user avatar
  • 3,681
1 vote
0 answers
51 views

How to DNS ip change to 1.1.1.1 in flutter

I want to browse the web by changing the gateway of the app to 1.1.1.1. But I can't change the DNS address of the Client to 1.1.1.1, Please help me. I am making a webview app. I tried to make the ...
Baatar Ganzorig's user avatar
0 votes
1 answer
90 views

Add-DnsServerResourceRecordCName throws CimException when run through Invoke-Command

This code: $zonename = "mydomain.ca" $username = 'mydomain\svc_dns' $dnsserver = 'dns.mydomain.ca' $password = 'password' $securePassword = ConvertTo-SecureString $password -AsPlainText -...
J. Diefenbaker's user avatar
0 votes
1 answer
45 views

Deployment Issue - Application not accessible on home network

I have deployed my application on OnRender, purchased a domain, and set up Cloudflare for DNS management. The application works fine on external networks, but I'm facing an issue when trying to access ...
Zaman Kazimov's user avatar
0 votes
0 answers
38 views

Disabling Domain User Account Using Python - Active Directory Integration

I'm working on an organization tool in Python and need assistance with disabling a domain user account. I've explored the pyad library, but I'm unsure about the correct approach. How can I ...
Info. you's user avatar
0 votes
0 answers
24 views

Server Client connection

How to connect a client and a server in the local network without any secure information (e.g.: password of the router), if the client is a mobile phone and the server is a PC? I try to connect mobile ...
Zhenya Karapetyan's user avatar
0 votes
2 answers
42 views

How to Redirect direct access to a subdomain and allowed only through a specific url

How to Redirect direct access to a subdomain and allowed only through a specific url for example i have mydomain and sub.mydomain i want to Redirect direct access to sub.mydomain to mydomain and if ...
it's Manon's user avatar
0 votes
1 answer
329 views

AWS Amplify failing to activate custom domain

I created an Amplify application and linked my custom domain from Google domains. I linked it a few months ago and it deployed successfully- my website was live for few months. Then I accidentally ...
Isaac's user avatar
  • 293
0 votes
1 answer
39 views

Connect AWS EC2 IP with given port to subdomain [closed]

I am learning deployment. I want to map my subdomain to my IP address with port 3010 which is AWS EC2 IP. I have two applications: ReactJS Front end app running on port 3000, NestJs Backend app ...
Shubham Verma's user avatar
0 votes
0 answers
35 views

NoIP, multiple domains, one dynamic IP, 2 servers using same port

I can't seem to wrap my head around something to know if it is or not possible. Situation: I have noip that redirect to my dynamic IP I have two local servers running services, including web server, ...
SlashJ's user avatar
  • 697
1 vote
0 answers
107 views

cPanel AutoSSL Issue (DCV)

I am trying to get SSL to work on my domain. Normally it works smoothly, but for this one it gives the following warning: WARN Local HTTP DCV error ([redacted].dk): The system queried for a temporary ...
floedemaskinenz's user avatar
0 votes
0 answers
30 views

DMARC authentication failed due to domain name and return path are different

DMARC authentication failed due to domain name and return path are different We utilize [email protected] to send emails, with its return path configured to another email, [email protected]. Our ...
user3331946's user avatar
0 votes
0 answers
22 views

Website only loads if the "/?lang=sl" is included into the URL?

When I try to open my website with the domain (techblog.si) it loads ok in incognito mode but it is buggy in normal mode (the pictures are not loaded, etc.). But if I search for "techblog.si/?...
Gregor's user avatar
  • 1
0 votes
0 answers
46 views

My pihole "works" but blocks nothing, what is wrong?

I just installed everything on my new raspberry pi and I wanted to test pihole. I installed it, and he is now running, I have the gui working too. My problem is when I set the dns on my phone/other ...
user23197935's user avatar
-1 votes
1 answer
69 views

change url servername and domain on internal sites hosted in IIS

scenario: server name: server domain: abc.de.ca I have multiple internal websites hosted in IIS such as server.abc.de.ca/test1 server.abc.de.ca/test2 server.abc.de.ca/test3 These sites are available ...
tiger t's user avatar
  • 13
0 votes
1 answer
110 views

Cannot use Azure Communication Service from kubernetes pod [closed]

I have an api in ASP.NET Core that uses Azure SDK to send emails. The code is : var connectionString = "<>"; var _client = new EmailClient(connectionString); // Create the email ...
Dilshod K's user avatar
  • 3,006
0 votes
0 answers
47 views

Dns over TLS.Someting wrong with connection

In Android system, when a network switch occurs, due to the involvement of NAT (Network Address Translation) from private network to public network, there may be changes in IP and port. This can lead ...
ccchendh's user avatar
0 votes
0 answers
10 views

filling masked tokens in a text using MLM

I need to train my model on a specific domain, for eg. hospitality domain so that my model learns the domain specific vocabulary. then it should fill masked tokens in another text dataset with that ...
richa garg's user avatar
2 votes
1 answer
182 views

How to parse a DNS packet in network format in C

I'm writing a netfilter kernel module that drops particular DNS requests from my machine. For that I need to extract a domain name from DNS packet question section (rfc1035). The QNAME field inside ...
Ostap's user avatar
  • 95
0 votes
0 answers
79 views

How to flush DNS Cache on Android Programmatically using Kotlin/Java

I need to flush DNS cache on a button click in my application, so that the next query to any domain is resolved from actual server and NOT from cache. How can I do that in my Android App using Kotlin ...
Muhammad Ibrahim's user avatar
0 votes
1 answer
47 views

Verifying the authenticity of the domain that sent the request

How can I 100% verify the domain from which I received a request or connection via WebSocket? Ideally, this should take no more than a second. It should not be susceptible to spoofing like the Host or ...
Gura's user avatar
  • 21
0 votes
0 answers
34 views

IP and PORT to subdomain

I had a VDS server, Im using FastPanel. My mail server is roundcube. And Im using CloudFlare So, question is; My roundcube login is https://IPaddress:8888/webmail I want to change to for my all domain,...
Kerem Göksun's user avatar
0 votes
0 answers
32 views

Implementing Path-Level Routing for Domain Redirect to AWS EC2 Instance

Title: Implementing Path-Level Routing for Domain Redirect to AWS EC2 Instance Body: I am encountering an issue with path-level routing during a domain redirection process and would appreciate ...
Shreerama Ashoka Adakoli's user avatar
0 votes
0 answers
28 views

Bind9 with multiple RPZ files and views causing overload on memory and CPU

I am running BIND 9.18.18-0ubuntu0.22.04.1-Ubuntu (Extended Support Version) <id:> on "22.04.3 LTS (Jammy Jellyfish)" My use case is as follows. I need to implement a DNS firewall of ...
hazzardousmonk's user avatar
0 votes
0 answers
8 views

error in website and recover my posts of my website

php error this runs on variant php script. but there some errors showing in my website. can you please help me. A PHP Error was encountered Severity: 8192 enter image description here and also wants ...
Sunil Yadav's user avatar