[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up bind9/DNS



On 6/28/2019 6:44 PM, Dennis Wicks wrote:
> Greetings,
>
> I have apache2 installed on my local machine with a bunch of virtual
> hosts that I use for test and development of html, wordpress, etc. It
> works fine to access the virt hosts locally, but I want to access them
> from other systems on my local network; windows/IE of various versions,
> smart phones, tablets, laptops, etc.
>
> They all can access my base host name because my DSL modem/router has
> DHCP and DNS in it and when it sets up an address with DHCP it puts an
> entry in its DNS and everything is fine. (All systems on the local net
> use the modem/router for dns.) But nothing like this happens with the
> virtual hosts!
>
> I was thinking that I could setup a nameserver on my machine with enries
> in it for the virtual hosts and have my local network address in the
> list of nameservers in my modem/router, and that is where I need the help.
>
> I have installed bind9, running on buster. So how do I set up the name
> server and populate it with the info for my virtual hosts? Pointers to
> forums, cookbooks, etc. would be appreciated as well as hints and tips!
>

I'm not so sure why you need DNS if it is already working assuming that
you are starting with DNS I would suggest you to use Dnsmasq instead of
Bind.

As far as I understand your question, I would simply "open access" to
your web server for all your hosts.

--
John Doe


Reply to: