[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[public-dns-discuss] Re: Getting external IP in app
I will take note. Thank you for your response!
четверг, 10 октября 2019 г., 17:18:09 UTC+3 пользователь Alex Dupuy написал:
My question: may i use "o-o.myaddr.l.google.com
" request to google DNS for getting external IP address in my app or this will break terms of using the service?
You shouldn't do this, because it will sometimes return incorrect results due to DNS caching. In any case, the addresses returned from that query are the full address of the DNS resolver at Google (not the user's external IP address) and the subnet (/24 for IPv4 or /56 for IPv6) of the client's external IP address. It does not report the full client IP address
You received this message because you are subscribed to the Google Groups "public-dns-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to public-dns-discuss+unsubscribe AT googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/public-dns-discuss/a45ea8ee-2fa4-433d-9a0e-b3426c56ea75%40googlegroups.com.