Questions tagged [reverse-dns]

Part of the the Domain Name System (DNS), a hierarchical naming system for discovering IP Addresses in relation to domain names. The Reverse DNS system takes an IP address and returns its configured domain name.

159 questions
2
votes
1 answer

avoid RDNS lookup for an HTTP request

I try to set up an HTTP connection using python, using the following code. I do the DNS resolving myself because I cannot change things like the hosts and resolv.conf files on the machines in question. class resolver(object): def __init__(self,…
KillianDS
  • 16,936
  • 4
  • 61
  • 70
2
votes
0 answers

Reverse DNS lookup request IP in Rails

I have a Rails 3 site in which I've rolled my own user authentication. I'm now in the process of integrating a 3rd party service (Fotomoto) that gets called with javascript on certain pages and needs to reach out from their serves to pull content…
LikeMaBell
  • 1,529
  • 2
  • 13
  • 24
1
vote
1 answer

Best practice when using Reverse-DNS Package Notation and vanity domains?

When using reverse-DNS package notation (such as com.apple.ostype), what should one do when the domain name is designed to be read in its entirety (such as http://read.me)? Strictly following the standard results in a package which, while…
Zachary Lewis
  • 13
  • 1
  • 1
  • 6
1
vote
1 answer

Apache: Dynamically set Documentroot inside Virtualhost Section based on reverse-DNS Notation

we want to setup one apache-server via VHosts to do the following: We want to route each of our mutliple domains to their corresponding location based on the domain-name (including subdomains, so the amount of Levels may vary) and their…
Leander Hass
  • 162
  • 2
  • 3
  • 13
1
vote
1 answer

find hostname from IP - reverse DNS - android

I am trying to find the hostname from the IP addresses in the subnet ( reverse DNS ) from my android app. I have not been able to find an approach which works on a decent number of routers. Approaches tried so far getCanonicalHostName Works well…
1
vote
2 answers

Limit execution time of await dns reverse function js

I have a function A that performs a dns.reverse(ip) (using 'dns' js npm) to check if IP is used or not. If it throws an error its free. Most of IPs it works as expected as it throws error straight away, but problem is that some IPs do not, it waits…
Powisss
  • 1,072
  • 3
  • 9
  • 16
1
vote
1 answer

ping: subdomain.example.com: Temporary failure in name resolution - Ubuntu Lightsail Instance and Route53 with Public Hosted Zone

I have been searching solution since last 2 days and tried my best to solve myself, but I think I need help now. Here is my setup AWS Lightsail Ubuntu 20.04 instance with Public/Static IP Route53 Public Hosted Zone with following setup I…
1
vote
1 answer

Reverse DNS lookup in python returns wrong host

I am trying to use python sockets to get hostname of ip. But, by some reason, when I try to do this: import socket result = socket.gethostbyaddr('216.58.207.46') # google ip address print(result[0]) I get printed out this:…
Mikhail Khromov
  • 117
  • 1
  • 8
1
vote
1 answer

GCloud https to external ID and Cloud DNS not working

as will be obvious, I do not know much about networking and do appreciate all hints and explanations. I wrote a little website application in flask using gunicorn and nginx. It is containerised, and works locally. My goal is to deploy it on gcloud…
AJK
  • 107
  • 2
  • 10
1
vote
0 answers

Reverse DNS (PTR) Problems Exist

I face an anonymous issue in my reverse PTR record in WHM Panel. I Update all PTR record Using SSH command and adding a DNS Zone Just You can See the image here is SSH Command and result DNS Zone name DNS Records Now when I visit the Email…
Shah Shuvo
  • 21
  • 3
1
vote
0 answers

AWS EC2 - reverse DNS and port 25 blocked by AWS

I am trying to set up my own Email server on EC2 instance, but facing issue related reverse DNS and SMTP port 25: Incoming Mail (SMTP/postfix) is running but is not publicly accessible at X.X.X.X:25. Outbound mail (SMTP port 25) seems to be blocked…
1
vote
1 answer

Reverse DNS script with Regex in Python

I am currently working on a reverse DNS script intended to open a log file, find the IP address, then resolve the IP to DNS. I have a regex set up to identify the IP address in the file, but when I added socket.gethostbyaddr to my script the script…
onyxmay
  • 13
  • 2
1
vote
1 answer

Google Cloud DNS and Reverse DNS Issues for Mail Server

I have migrated my DNS records from my webhoster (their DNS has no UI) to Google Cloud DNS using Googles trail period offer (no support). I am not yet using any other Google Cloud service. I have setup all the new PUBLIC DNS records from scratch (no…
Tony
  • 83
  • 1
  • 7
1
vote
1 answer

Error - getHostByAddr ENOTFOUND ::ffff:18.234.32.226

When I use this utility with nodejs: https://nodejs.org/api/dns.html#dns_dns_reverse_ip_callback like so: const {remoteAddress, remotePort} = req.connection; dns.reverse(remoteAddress, (err, hostnames) => { if(err){ …
user5047085
1
vote
0 answers

Why does Cloudflare returns NXDomain status even for valid gmail server ip address?

I am calling cloudflare API over https for reverse DNS lookup. Following is the URL for reverse dns lookup of one of the gmail server ip address, but cloud flare returns the status as NXDomain, which is…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32