I have a question. I want to set up DNS Server for my home network. The case is this: I made a server using Ubuntu 16.04 with LEMP stack and Virtualmin; so far so good. And now when I add Virtual server with a domain, for example, "devsite.dev", I have to add it in my /etc/hosts
file. But I want to add the Ubuntu server IP-addr in my DNS config /etc/resolv.conf
so I can access this domain from anywhere without changing the IP in my hosts file every time.
Server is Ubuntu Server 16.04 and I have already installed BIND9 (included in Virtualmin).
In summary: How can I configure BIND9 so I can access it from anywhere but query only the local zones ".dev" TLD's.
/etc/hosts
or/etc/resolv.conf
) on every machine on which you want to use it. It is also not clear if you want to access this only from other machines in your home network or if you expect the server to be available to machines outside of your home in the Internet.