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

Re: own dns server resolv.conf with tinydns setup

BAGI Ákos: > I set up on jessie my own dns server with tinydns. > Whow to set up /etc/networking/interfaces and resolv.conf to ask the system for my zones himself first?

The people who are telling you to "run tinydns in recursive mode" don't know tinydns at all, as they did say. What they've told you starting from that is completely wrong.

1. Set up an instance of dnscache listening on a local IP address.
2. Point resolv.conf at that IP address.
3. If tinydns is providing content DNS service to the world at large for your domains, too, then do nothing more. dnscache will perform query resolution from public data in the normal way. An optional extra step is to use record tagging so that your dnscache sees something different to what the rest of the world sees. 4. If tinydns is not providing content DNS service to the world at large for your domains, then configure dnscache with its servers/ directory mechanism to talk to your tinydns for one portion of the DNS namespace tree, and to the outside world for the rest of the tree.

* http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/dns-server-roles.html#Content * http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/dns-split-horizon.html
* http://cr.yp.to/djbdns/run-cache.html
* https://packages.debian.org/unstable/dnscache-run

Reply to: