So I will start with the fact I wasted the whole day trying to figure that out with no results...
I have a small local network behind a NAT router. It goes like this: ISP->NAT Router (contains a wireless part and ethernet ports)->My computer(wired), my laptop (wireless), my mom's computer (wireless), and my server (wired).
before I installed the Ubuntu server I had WHS1 for backups only, my DHCP was the router, DNS - set to router's IP which had the ISP's DNS servers set.
Yesterday I decided to switch to Ubuntu server. I installed the DHCP server on ubuntu, configured it completely, everything works. It's hostname is 'ubuntuserver' and the domain (I think that's what it is) is 'home'.
Then I set up the server to be a DNS server as well to cache the answers from an external DNS servers (Google's and OpenDNS).
The problem is that I just can't get to ping internal hostnames in my local network (e.g. From my computer 'ping ubuntuserver'/vice versa -> unknown host). Now I know that all what I've configured has nothing to do with it because these are external DNS server. I know there is the hosts file, but I DO NOT want to configure it in each PC, my question is - Where/How I configure a table ON THE SERVER so all the local machine will identify hostnames? it fails in Ping HOSTNAME and dig HOSTNAME... When 'ping ubuntuserver.local' it works.
Long story short - Doing 'ping ubuntuserver' doesnt work, doing 'ping ubuntuserver.local' does work. Where do I configure ON THE SERVER a table for local Address Resolution so it applies for all local machines connected to the DNS?
Well, I deleted bind9 because I found out that it's name caching is not worth it. I figured out I don't mind using "ping hostname.local" instead of "ping hometaname" and configuring a zone file is too much trouble just for a 4 computers LAN.