Why doesn't "Cloudflare 1.1.1.1" compress root answers?

At first I thought they had disabled compression:

bjorn@miraculix:~$ dig . ns @1.1.1.1|grep SIZE
;; MSG SIZE rcvd: 431
bjorn@miraculix:~$ dig . ns @8.8.8.8|grep SIZE
;; MSG SIZE rcvd: 239
bjorn@miraculix:~$ dig . ns @9.9.9.9|grep SIZE
;; MSG SIZE rcvd: 239

But then I noticed that they *do* compress other names:

bjorn@miraculix:~$ dig net ns @1.1.1.1|grep SIZE
;; MSG SIZE rcvd: 253
bjorn@miraculix:~$ dig net ns @8.8.8.8|grep SIZE
;; MSG SIZE rcvd: 253
bjorn@miraculix:~$ dig net ns @9.9.9.9|grep SIZE
;; MSG SIZE rcvd: 253

Which just makes it even more confusing. What's so special about root?
Except for the obvious :slight_smile:

Bjørn

I am sure they will after this :wink:

Hi Bjørn

Never realised of such compression on answered. Is this is something well
documented? Curious.

Thanks for sharing.

Yes.. Check 4.1.4 of https://www.ietf.org/rfc/rfc1035.txt

Anurag Bhatia <me@anuragbhatia.com> writes:

Never realised of such compression on answered. Is this is something well
documented? Curious.

Bjørn