justmao945 / mallory

HTTP/HTTPS proxy over SSH
MIT License
324 stars 68 forks source link

Clarify documentation for "Get the right suffix name for a domain" #21

Open mdavis-xyz opened 2 years ago

mdavis-xyz commented 2 years ago

It's unclear to me what the purpose of the "Get the right suffix name for a domain" part of the README is for.

First of all, what does that command do? It would be good to add the output.

EffectiveTLDPlusOne: google.com
PublicSuffix: com

Does this mean that if I want to proxy www.google.com I have to add google.com to the block list, not www.google.com? (Based on my testing this seems to be the case.)

What about if I want to proxy a.b.c.mycorp.com.au but not z.y.c.mycorp.com.au?