Simple DNS Configuration

Beech Rintoul beech at alaskaparadise.com
Mon Jul 24 23:32:02 UTC 2006


On Monday 24 July 2006 15:10, David Stanford wrote:
> On 7/24/06, Derek Ragona <derek at computinginnovations.com> wrote:
> >  Check your /etc/nsswitch.conf file.  You want the line for hosts to be:
> > dns files
> >
> > Also be sure named is running.  While it says it is starting do a:
> > ps -ax|grep name
> >
> >         -Derek
>
> Derek,
>
> nsswitch.conf hasn't been modified from the default:
> [root at chadwick ~]# cat /etc/nsswitch.conf
> group: compat
> group_compat: nis
> hosts: files dns
> networks: files
> passwd: compat
> passwd_compat: nis
> shells: files
>
> And I've been verifying named is running after every stop/start of the rc
> script:
> [root at chadwick ~]# ps aux|grep named
> bind      26207  4.1  0.2  4060  3328  ??  Ss    7:09PM
> 0:00.08/usr/sbin/named -t /var/named -u bind
> root      10645  0.0  0.0  1300   952  ??  Ss    6:09AM
> 0:02.08/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s
>
> There has to be something I'm missing as I've set this is up in the exact
> same manner on a dev box at home using the same named.conf and master
> files, and still yield the same results.
>
> -David

I have the same problem as you trying to do that by hand. I even have the 
O'Reilly book on dns. As a suggestion, you might install webmin. It does a 
very good job managing bind. I even used it at an ISP I worked for and really 
liked it. We had 300+ virtual domains and editing all the files by hand was a 
nightmare when something changed.

just my .02

Beech
-- 

---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060724/ad5ecabe/attachment.pgp


More information about the freebsd-questions mailing list