Lorithar
11-03-2000, 05:15 PM
I've been using the linux gateway box as a nameserver for some time, chrooted and coughing up ip addys for the in house windows pcs but it was annoying that a) I never saw the logging detail and b) could never connect with ndc to restart or dump stats. I sat down and poked at it seriously over the last two days and now I understand the definition of 'picky' .. config files have to be *perfect* to get this working right. If you choose to run BIND in chroot, DO NOT create the /dev/log entry yourself. Tell syslogd what to listen to, and it will reach into the jail and create the /dev/log device itself.
(see man syslogd and look for alternate log ports ... it refers to programs run in chroot jails specifically) Point two ... if you want to run inside and then forward out for non cached entries, I strongly suggest just using the named.cache hints file that comes with bind. At least sympatico's nameservers are three to five times as long in responding to a request than are the root servers. And after a time, you have a substantial enough cache to handle most requests directly. I now see the logs *yeah* and can directly bounce the server (reload/restart) with NDC .... next step ... register my domain and go public.
(see man syslogd and look for alternate log ports ... it refers to programs run in chroot jails specifically) Point two ... if you want to run inside and then forward out for non cached entries, I strongly suggest just using the named.cache hints file that comes with bind. At least sympatico's nameservers are three to five times as long in responding to a request than are the root servers. And after a time, you have a substantial enough cache to handle most requests directly. I now see the logs *yeah* and can directly bounce the server (reload/restart) with NDC .... next step ... register my domain and go public.