Questions tagged [ptr-record]

PTR is a type of record in DNS system used for reverse DNS lookups (IP address to hostname)

IPv4 reverse resolution

Reverse DNS lookups for IPv4 addresses use a reverse IN-ADDR entry in the special domain in-addr.arpa. In this domain, an IPv4 address is represented as a concatenated sequence of four decimal numbers, separated by dots, to which is appended the second level domain suffix .in-addr.arpa. The four decimal numbers are obtained by splitting the 32-bit IPv4 address into four 8-bit portions and converting each 8-bit portion into a decimal number. These decimal numbers are then concatenated in the order: least significant 8-bit portion first (leftmost), most significant 8-bit portion last (rightmost). It is important to note that this is the reverse order to the usual dotted-decimal convention for writing IPv4 addresses in textual form. For example, an address (A) record for mail.example.com points to the IP address 192.0.2.5. In pointer records of the reverse database, this IP address is stored as the domain name 5.2.0.192.in-addr.arpa pointing back to its designated host name mail.example.com. This allows it to pass the Forward Confirmed reverse DNS process.

IPv6 reverse resolution

Reverse DNS lookups for IPv6 addresses use the special domain ip6.arpa. An IPv6 address appears as a name in this domain as a sequence of nibbles in reverse order, represented as hexadecimal digits as subdomains. For example, the pointer domain name corresponding to the IPv6 address 2001:db8::567:89ab is b.a.9.8.7.6.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa.

188 questions
3
votes
1 answer

Why does SSH report "reverse mapping checking getaddrinfo failed" even when PTR record is set?

I'm trying to setup a cluster using a private network on subnet 10. One machine has two interfaces, one to connect to the regular network and the other to connect to all the nodes on subnet 10. This CentOS 6 machine (let's call it "zaza.domain.com")…
Biggles
  • 35
  • 1
  • 6
3
votes
1 answer

Best practices for managing the IP addresses you own in DNS and their PTRs?

I was wondering how exactly the big companies go about managing all the IP addresses that their public servers use, especially in respect to setting up correct PTR-records. This is very important, for example, when sending lots of email from…
Kevin F
  • 31
  • 3
3
votes
2 answers

How to add PTR record for a /16 IP block in BIND using $GENERATE directive?

I'm trying to reverse map a block of IP using PTR record to some special name so their usage can be easily reflected by a simple nslookup. For example, here's a nslookup result: # nslookup 172.17.201.101 Server: 10.253.33.1 Address: …
yegle
  • 696
  • 7
  • 18
3
votes
5 answers

DNS, PTR, Mail Server HELP!

I am not really sure which route to take. Here is my current setup. We host our web server on RackSpace Cloud (moved from EC2) Previously we hosted our own name servers, now we use RS (RackSpace) name servers. Our mail server is hosted locally…
Physikal
  • 570
  • 2
  • 9
  • 22
3
votes
3 answers

Moving from one ISP to another; DNS PTR question

We are going to be moving from one ISP to another in the next month or so, and I will be changing the TTL's down to 60 seconds on the DNS servers that I have authority for, but our current ISP has authority for the reverse DNS zone. Since this is…
bgarlock
  • 129
  • 1
  • 8
3
votes
4 answers

DNS and PTR for SMTP: shared IPs and subdomains

This question is similar to others about PTR and DNS for SMTP, but one specific aspect was unanswered: what if one machine does SMTP and HTTP on the same IP address. For example: SMTP at mail.example.com, also HELO. (1.2.3.4) HTTP at www.example.com…
Halfgaar
  • 7,921
  • 5
  • 42
  • 81
3
votes
3 answers

DNS PTR record when domain on shared IP address

I own a typical shared IP hosting plan and domain. I can modify the DNS of the domain from the control panel. The mailserver shares the same IP address, so my typical DNS config is: www.mydomain.com A -> myIP mydomain.com A ->…
2
votes
0 answers

When sending an email to Gmail, I get a delivery error email back to me

I have a VPS and when I send an email, I get a delivery error email with one of the following (the email is not in the spam, it is not being sent at all): all hosts for 'gmail.com' have been failing for a long time (and retry time not…
Amos
  • 141
  • 6
2
votes
3 answers

How to know if reverse PTR record is correct for emailing purposes

I send emails for test@example.com with my own server. When using dig -x xxx.xxx.xxx.xxx with the IP of my server, I get: ;; QUESTION SECTION: ;xxx.xxx.xxx.xxx.in-addr.arpa. IN PTR ;; ANSWER SECTION: xxx.xxx.xxx.xxx.in-addr.arpa. 86399 IN …
Basj
  • 569
  • 3
  • 8
  • 27
2
votes
1 answer

BIND9 can't resolve in-addr arpa

I am trying to configure my nameservers to resolve a PTR zone for which we are authoritative. I have several forward zones that work just fine, but when I try to resolve a PTR, the result does not contain an answer. The config has multiple views.…
AaplMike
  • 157
  • 1
  • 4
2
votes
1 answer

Receiving mail from Gmail delayed - PTR issue?

One of our partners receives our mails with noticeable delays. The same mail sent to two addresses under their domain are sometimes delivered at their server hours apart (checked in the actual server logs, not just the user mailboxes). I suspect a…
Jan Fabry
  • 836
  • 1
  • 10
  • 18
2
votes
2 answers

Possibility to synthesise resource records in BIND?

is there possibility to synthesise resource records in BIND, similar as in KnotDNS with following command? synth_record "(forward`|reverse) \
/";` I need to create PTR records for the IPv6 /64 prefix. I`m not asking for…
Neonik
  • 21
  • 2
2
votes
1 answer

Allow mail to be sent from any subdomain (PTR, SPF, Gmail)

I use a single smarthost as a hub to route all email from my network so that I can pass SPF checks on Gmail. However, although I always send through the same server, the From address can differ. For instance, a cron job on the server…
amoe
  • 185
  • 1
  • 9
2
votes
4 answers

How do I create a PTR record for my server?

I assumed I would set up a PTR record with my other DNS records, but have been told by my hosting company that "a PTR record should be set up at the side of your server, not as a DNS record in your domain zone file." But I can't find any…
felwithe
  • 826
  • 1
  • 9
  • 14
2
votes
1 answer

PTR record format for IPv6

What is the difference in the following two IPv6 PTR formats? 4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR smtp.example.com. 4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.0.0.a.4.f.7.0.6.2.ip6.arpa. IN PTR smtp.example.com. If…
user53029
  • 619
  • 2
  • 14
  • 34
1 2
3
12 13