Local network in CIDR notation

Updated to pihole 5.1 and can see that Local network in [CIDR notation] has been added in DNS what do I put in there please?

If you click the hyperlink on that page of the web admin GUI, you will go to this reference:

Yea had a read but didn't make sense. My main router gives out the up addresses of 192.168.1.2 to 192.168.1.254 is that what I put in there?

192.168.1.0/24

It uses 192.168.1.1 for itself (assumed) and hands out 2-254 (255 is protected). So it hands out the entire last octet = 8 bits.

A IPv4 address contains of 32 bits in total. Your router handles all addresses in an 8 Bit wide range (see above). So out of the 32 bit, 8 are free = 24 bit are fixed. These are 192.168.1.

This results in

where the trailing 0 is actually arbitrary, you can also write there 192.168.1.5/24 or 192.168.1.123/24 and it will not make a difference. Because the 24 says: don't look at all at the last 8 bits.

It has 192.168.1.0/24 already in there so guess that is ok to leave?

Yes, leave it if it's working.

Pi-hole autodetected what is best for you. Awesome.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.