I want to get all the IPs of the A RECORDS for mail.google.com.
The aim is to deny access to these IPs.
I learnt that mail.google.com has several IPs.
I did the following steps:
1. whois google.com
2. I got the following as its DOMAIN SERVERS:
ns3.google.com ns2.google.com ns1.google.com ns4.google.com
3.# dig @ns1.google.com a mail.google.com
;; ANSWER SECTION: mail.google.com. 0 IN CNAME googlemail.l.google.com. googlemail.l.google.com. 300 IN A 22.214.171.124 googlemail.l.google.com. 300 IN A 126.96.36.199
I thought this would give me all the IPs.
Currently, in an attempt to get the other IPs I am digging 188.8.131.52 & other free public dns servers..
someone please explain to me why
dig @ns1.google.com a mail.google.com
does not give the full list & how other FreeDNS servers are getting different IPs?