Personal tools
You are here: Home OpenPKG djbdns x76.html
Navigation
Log in


Forgot your password?
 
Document Actions

x76.html

by zoperoot last modified 2007-11-05 01:07
Examples

Examples

Several of our machines support multiple public interfaces for DNS servers for historical reasons (a polite way of saying that I screwed up while learning DNS and there are people using us for secondary services where we don't want to change the NIC records). One of these machines, johngalt.celestial.com, has servers set up as follows:

NameServerIPComments
tinydnstinydns192.136.111.59Public NS
axfrdnsaxfrdns192.136.111.59Public NS Zone Transfers
tinydns2tinydns192.136.111.2Public NS
axfrdns2axfrdns192.136.111.2Public NS Zone Transfers
tinydns-privatetinydns127.0.0.3Private NS for mi.celestial.com
dnscachednscache192.168.253.253Local DNS resolution
rootdnstinydns127.53.0.1Local copy root DNS info

Here we have tinydns running on two public IP addresses, and axfrdns on the same IP addresses to support zone transfers. We have tinydns running on a localhost IP to provide DNS information for our local sub-domain. The dnscache program does lookups for all systems on our internal LAN, and has explicit links to the two tinydns and rootdns servers running on the same machine.

My laptop machine is much simpler. I have it configured so that it will run reasonably when totally disconnected from the Internet. Here I've combined our public and private data into a single file served up by one copy of tinydns, and everything runs off of the 127/8 localhost network. It won't do lookups for anybody else.

NameServerIPComments
dnscachednscache127.0.0.1Local DNS resolution
rootdnsrootdns127.53.0.1Local copy root DNS info
tinydnstinydns127.0.0.2Public and private NS


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: