Simple DNS Configuration

David Stanford dthomas53 at gmail.com
Mon Jul 24 23:10:18 UTC 2006


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
-- 
[root at fbsd ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.


More information about the freebsd-questions mailing list