[Chugalug] internal DNS

Dave Brockman dave at brockmans.com
Sun Oct 6 22:26:09 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/6/2013 5:53 PM, Mike Harrison wrote:
> On Sun, 6 Oct 2013, Dave Brockman wrote:
>> On 10/6/2013 4:13 PM, David White wrote:
>>> You could also do this with BIND.
>> 
>> You *should* do this with BIND.  You should also learn how to use
>> DDNS integrated with your DHCPd as well.
>> 
>>> The first thing I googled for was "bind for internal DNS" and
>>> found this link on how you can setup BIND for a dual-prong
>>> approach: providing internal DNS, but also acting as your DNS
>>> to the outside world:
>>> http://www.howtoforge.com/two_in_one_dns_bind9_views
> 
> Yes, you are absolutely correct, Bind does this well. It's a
> configuration nightmare in comparison:
> 
> http://www.thekelleys.org.uk/dnsmasq/doc.html 
> http://en.wikipedia.org/wiki/Dnsmasq
> 
> I've used this to solve some hairy problems with ease.

Views in semi-recent BIND aren't as bad as it used to be, really.  You
define a network macro, you define a view, you bind the view to the
network macro, and you define the zones to serve up in each view.  You
(can) also have a global view, so it's kinda like a router ACL, you
might have to think a bit to optimize if you have several zones
needing split horizon, but for simple cases, it's literally the steps
above, and serve up your respective zone files.

And learning the zone file format for BIND will ensure you know what
all those "check your DNS settings" websites are actually talking about.

:)

Regards,

dtb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSUeOBAAoJEMP+wtEOVbcdxyAH/RUObCc2gtDosKx32HGJ3Bqf
6dW2xSo1ptnlHLlRWzAvB/KFUS7JUomSYU2ymKWA/Hj7lIvxGV0Bnkd9DF4eFMKB
99q+UMxcq+aEqm4eMRpbxocavgd2bdlBgQFAnZ2BuljUB1i9StmcdyZUGGwW3kLJ
qbiJ1Gjes9XIn8wPrxgNGQQYl8WoQB7VJ6aXGvF0lScB+YPFfIaIHsrNzt7HFeSD
EctvyUg7qu/c/sKbASTX79hsKH6AMSBzyfcoDMb0+xb201GQvnXDMGkAjmKHoj6g
1Ig4z8xxatYGz66q+JpAG8H/O3hOZUgk1JE6DgdD6FeSbIB1C+bXpiSW3RulQGo=
=LpQ6
-----END PGP SIGNATURE-----


More information about the Chugalug mailing list