All PTR (reverse DNS) names are in lower-case

bug

#1

For example, when I DIG PTR of some IP address using Google DNS or Quad9, it will show:

[[email protected] ~]$ dig +short ptr -x 87.245.225.230 @8.8.8.8
lo0.RT.EQX.TYO.JP.retn.net.
[[email protected] ~]$ dig +short ptr -x 87.245.225.230 @9.9.9.9
lo0.RT.EQX.TYO.JP.retn.net.

The same situation is on my ISP’s DNS server (which is not accessible over IPv6 Internet - the main reason why it is secondary for me):

[[email protected] ~]$ dig +short ptr -x 87.245.225.230 @195.42.x.y
lo0.RT.EQX.TYO.JP.retn.net.

And, now I’ve performed DIG PTR using Cloudflare DNS:

[[email protected] ~]$ dig +short ptr -x 87.245.225.230 @1.0.0.1
lo0.rt.eqx.tyo.jp.retn.net.

And have seen that all letters of the result are in lower-case.
Is this a bug or Cloudflare’s principled policy of reverse DNS namings?


#2

Host names are not case sensitive

https://tools.ietf.org/html/rfc4343


#3

I don’t know about these essentials, but this may cause some ambiguities, only look at this:

[[email protected] ~]$ dig +short ptr -x 93.x.y.z **@1.0.0.1**
core-0-wsx6704**10ge**-4-2-209dot1q.abcd.someabcd.net.
[[email protected] ~]$ dig +short ptr -x 93.x.y.z **@8.8.8.8**
core-0-wsx6704**10GE**-4-2-209dot1q.abcd.someabcd.net.

At the first dig the construction “wsx…10ge” turns into some abracadabra, but at the second - 10GE denotes 10GigE interface.

I’m ONLY asking ABOUT THIS. Are there any ways to get the same result as from 8.8.8.8 DNS? Of course, leaving Cloudflare’s DNS :slight_smile:


#4

Well, Cloudflare seems to lowercase hostnames in these cases. I am not sure but I doubt there is something you could do from your side to avoid this and Cloudflare is perfectly within the specifications as hostnames are not case sensitive.


#5

Well. It is no matter. Only a small Cloudflare DNS difference. However, maybe it is a fault of these ISPs - making case sensitive hostnames. I don’t have any contacts with them. Only tracing routes to check backbones connectivity and noticed this difference. But in general - Cloudflare DNS is the very good project. The latency with my home router and 1.0.0.1/1.1.1.1 only 6 ms. I will use it for a some time. OK. Good bye.


#6

I wouldnt call it their “fault” either. Host names are traditionally lower case, but as they are case insensitive there is nothing that prevents one from using upper case characters either.

In Cloudflare’s case it simply seems they convert them to lower case by default for some reason.