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

2018-04-05 Thread Bjørn Mork
Anurag Bhatia  writes:

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

https://tools.ietf.org/html/rfc1035#section-4.1.4


Bjørn


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

2018-04-05 Thread Jared Mauch
Yes.. Check 4.1.4 of https://www.ietf.org/rfc/rfc1035.txt


> On Apr 5, 2018, at 4:22 PM, Anurag Bhatia  wrote:
> 
> Hi Bjørn
> 
> 
> Never realised of such compression on answered. Is this is something well
> documented? Curious.
> 
> 




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

2018-04-05 Thread Anurag Bhatia
Hi Bjørn


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



Thanks for sharing.

On Wed, Apr 4, 2018 at 1:30 AM, Bjørn Mork  wrote:

> 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 :-)
>
>
>
> Bjørn
>
>


-- 


Anurag Bhatia
anuragbhatia.com


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

2018-04-03 Thread Mehmet Akcin
I am sure they will after this ;)

On Tue, Apr 3, 2018 at 4:00 PM, Bjørn Mork  wrote:

> 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 :-)
>
>
>
> Bjørn
>
>


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

2018-04-03 Thread Bjørn Mork
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 :-)



Bjørn