I run Raspberries on Jessie in a home network, with quite a bunch of devices. I know many machines by IP, but it is slowly getting harder to keep on top of things. I use one machine as a server (rpiserver): it does dnsmasq, squid, DHCP, syslog (for other machines), and think it can easily handle DNS as well... which in turn should give me more transparency in the network.
I own a domain on the Internet; say example.net, running www and mail.
- Do I need to make my home network domain part of this domain? E.g. home.example.net? There is no need I can think of that these two domains "talk to each other" or external access is required to a local machine.
- I am not too familiar with Linux, hence, I am wondering which files do I need to change to get this working?
- Do I need to update the DHCP config and add the machine names, and it populates the DNS, or does it go the other way around?
- Above all, is there a benefit running the local DNS for what I am describing?
- I'd like an automatic solution; maybe update one 'thing' to propagate or resolve to/for others.
- The router to the Internet does just that: WLAN/LAN routing; meaning I should be able to use dnsmasq, rather than setting up a DNS server?
- Would having a local domain prevent a mail error when root sends notifications from rpiserver, and there is no 'domain' part to this name?
Any help appreciated.
/etc/hosts
file. – Kusalananda Jul 16 '16 at 07:36