[Cialug] DNS Bind 9
Kenneth Ristau
cialug@cialug.org
Sun, 13 Mar 2005 10:39:49 -0600
frankie wrote:
> Hello all,
> I am trying to set up the caching server in FC3 using Webmin and am
> having some issues. When I run 'named-checkconf' I get an error message
> 27 telling me all zones must be in the view. Running nslookup mayhem.nut
> results in 'Server: 192.168.10.15 Address: 192.168.10.15#53
> ** server can't find mayhem.nut: NXDOMAIN'.
> SNIP <
> Shouldn't I be seeing my local nameservers in the Authority section? Any
> help appreciated!
>
> Irv Robison
> IRVNET
> 515-720-7816
> frankie@raccoon.com
> www.irvnet.us
Check your /etc/resolv.conf file. It is probably pointing at your ISP's
nameservers. Instead, try just the following line and nothing else:
nameserver 127.0.0.1
That should attempt to resolve your local entries first, then query the
root servers.
I've just started (long overdue) to play with DNS myself. I'm just
editing the config files manually for now. I usually try to learn how
to configure things manually first, then move on to tools like webmin
once I understand the basics. If I get stuck, though, I'll sometimes
use a utility to create the configs for me, then review them to see what
I did wrong. Make sure you save copies of your working/original configs
someplace safe, so you can restore them if you mess up. That has saved
my gluteus maximus more than once.
later,
kristau