Download current IP ranges (CIDRs) used by the Google Public DNS network.
Choose your preferred format. All downloads are permalinks that always provide the latest data.
First 25 of 616 ranges. Download the full list above, or search for a specific IP.
| CIDR | Type | Region | Tag |
|---|---|---|---|
| 34.64.0.0/24 | ipv4 | icn | Google Public DNS |
| 34.64.1.0/24 | ipv4 | icn | Google Public DNS |
| 34.64.2.0/24 | ipv4 | icn | Google Public DNS |
| 34.101.0.0/24 | ipv4 | cgk | Google Public DNS |
| 34.101.1.0/24 | ipv4 | cgk | Google Public DNS |
| 34.101.2.0/24 | ipv4 | cgk | Google Public DNS |
| 34.116.32.0/24 | ipv4 | tlv | Google Public DNS |
| 34.153.64.0/25 | ipv4 | dia | Google Public DNS |
| 34.153.64.128/26 | ipv4 | dia | Google Public DNS |
| 34.153.64.192/26 | ipv4 | dia | Google Public DNS |
| 34.153.65.0/25 | ipv4 | dia | Google Public DNS |
| 34.153.65.128/26 | ipv4 | dia | Google Public DNS |
| 34.153.65.192/26 | ipv4 | dmm | Google Public DNS |
| 34.153.66.0/24 | ipv4 | dmm | Google Public DNS |
| 74.114.28.0/26 | ipv4 | sin | Google Public DNS |
| 74.114.28.64/26 | ipv4 | bkk | Google Public DNS |
| 74.114.28.128/26 | ipv4 | hdf | Google Public DNS |
| 74.114.28.192/26 | ipv4 | iad | Google Public DNS |
| 74.114.29.0/26 | ipv4 | chs | Google Public DNS |
| 74.114.29.64/26 | ipv4 | bkk | Google Public DNS |
| 74.114.29.128/26 | ipv4 | lhr | Google Public DNS |
| 74.114.29.192/26 | ipv4 | dfw | Google Public DNS |
| 74.114.30.0/26 | ipv4 | bkk | Google Public DNS |
| 74.114.30.64/26 | ipv4 | hdf | Google Public DNS |
| 74.114.30.128/25 | ipv4 | hdf | Google Public DNS |
# Download with curl
curl -O https://cloud-ip-ranges.com/download/google-public-dns.txt
# Or download with wget
wget https://cloud-ip-ranges.com/download/google-public-dns.txt
# Download and block Google Public DNS IPs with iptables
wget -O google-public-dns_ips.txt https://cloud-ip-ranges.com/download/google-public-dns.txt
while read ip; do
iptables -A INPUT -s $ip -j DROP
iptables -A OUTPUT -d $ip -j DROP
done < google-public-dns_ips.txt
# Download and block Google Public DNS IPs with UFW
wget -O google-public-dns_ips.txt https://cloud-ip-ranges.com/download/google-public-dns.txt
while read ip; do
ufw deny from $ip
ufw deny to $ip
done < google-public-dns_ips.txt
# Create fail2ban filter for Google Public DNS
sudo tee /etc/fail2ban/filter.d/google-public-dns-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF
# Create jail configuration
sudo tee /etc/fail2ban/jail.d/google-public-dns-block.conf << EOF
[google-public-dns-block]
enabled = true
filter = google-public-dns-block
action = iptables-allports[name=google-public-dns]
logpath = /tmp/google-public-dns_ips.txt
findtime = 1
bantime = -1
maxretry = 1
EOF
# Download IP list and restart fail2ban
wget -O /tmp/google-public-dns_ips.txt https://cloud-ip-ranges.com/download/google-public-dns.txt
sudo systemctl restart fail2ban
# Create alias table for Google Public DNS IPs
# 1. Download the IP list
wget -O google-public-dns_ips.txt https://cloud-ip-ranges.com/download/google-public-dns.txt
# 2. In pfSense/OPNsense web interface:
# - Go to Firewall > Aliases
# - Create new alias named "GOOGLE-PUBLIC-DNS_BLOCK"
# - Type: Network(s)
# - Import the downloaded file
#
# 3. Create firewall rule:
# - Go to Firewall > Rules > WAN
# - Add rule: Action=Block, Source=GOOGLE-PUBLIC-DNS_BLOCK
These IP ranges cover the Google Public DNS network and are updated regularly from its official source. The data includes IPv4 and IPv6 ranges. Last update was about 3 hours ago.