expectus profile image 96

How to setup virtual hosts on apache2, as well creating a dns zone using bind9

trying to setup a dns zone on a private network, using my localhost as a server for dns lookup query's

asked by expectus 4 months ago

flag

01i profile image 78

How to setup virtual hosts on apache2, as well as creating a dns zone using bind9

For the duration of this tutorial, I will be describing configuration required for a Debian or Ubuntu server. Configuration is slightly different in other distributions, but the basics hold true. Apache2 is... keep reading →

 |  (+2)
 |  1 comment
2Xera profile image

2Xera says

The simple answer is this:

1. install bind/named

2. Set the resolvers in your resolv.conf file to your localhost.

From there your named "name daemon" should catch and cache all DNS queries made through that box.

If you want to query all DNS from your network through that box you can proxy tunnel to it locally.

Hope this isnt to vague!

 |  (+2 / -1)
no image

qontendah says

I would highly recommend avoiding bind/named (security holes like swiss cheese except not as yummy, complicated blah blah blah, 98% of frontline IT people can't get this going);

instead setup tinydns/djbdns advantages:

- very straightforward

- awesome doc resources

- much less resource hungry

 |  (+1)

You can vote each answer up or down to show your support or disapproval. You cannot flag an answer, but if an answer receives enough down votes compared to up votes, then it will become hidden.

Ask A Question

working