HI
I have a fair understanding of networking (or I thought) until recently when I read something which blew my mind and blew my understanding completely off now, and has had me thinking about it and it's starting to annoy me!

Obviously on a network, Class A address can hold the most hosts
Although, Class C addresses can only hold 253 hosts.
So, when you're joined on a domain and my computer has IP address 192.168.20.1 but the guy next to me has 192.168.21.1, we are on a different network? Correct? So we cannot share resources etc without going through a\the server? Even though we're on the same domain?

I'm all confused, I thought I had complete understanding of IP addressing but obviously not, if someone could take the time to explain it would be greatfully appreciated

Also, DNS, can someone please explain a little about DNS. I have a server setup for personal, hands on experience (she's my drug monkey

) and I have the domain setup completely, but can someone just explain DNS? I understand when you create a server you're required a name for the server (fileserver1.microsoft.com) for example and then you create a random DNS address that can be anything, then you have to configure your clients for that? So, how does secondary DNS come into this (preferred DNS and secondary DNS?)
Thanks in advance for time, effort and replies.