sindresorhus/public-ip

Add option to not obtain public ip by querying dns record

Eason0729 opened this issue · 1 comments

When debugging, I notice my ip change constantly between 162.158.241.18(cloudflare, upstream dns server) and ...(my actual ip) every several seconds.

I am hijacking all DNS traffic behind my router for adblocking, and I suspect that DNS hijacking making obtain public ip by querying dns record invaild.

Oh, I just found that onlyHttps not only means not unencrypted http, but also means not dns.