Re: I can't get named to start

From: David Efflandt (efflandt_at_xnet.com)
Date: 08/23/03


Date: Sat, 23 Aug 2003 02:05:49 +0000 (UTC)

On 22 Aug 2003 15:19:08 -0700, NOSPAM <games4h@yahoo.com> wrote:
> Hello,
> I can't get named to start. I've tried '/etc/init.d/named start' and
> '/usr/sbin/named -u named -d 10'. I've checked that the configuration
> file is valid 'named-checkconf', ran 'named-checkzone' on all my
> zones, and double checked that users 'named' exists. Made sure my
> firewall is opened up correctly 'iptables -I INPUT -p udp -s
> 192.168.1.1/24 --dport 53 -j ACCEPT'. But named still never shows up
> in ps -aux or a port scan. I'm at a complete loss. What do I need to
> do to get things working?
> TIA,
> Harold

The first place you look when something fails, is your logs, starting with
/var/log/messages, unless there is a more relevant log.

I have been running my own local DNS for years (public caching and private
zones), but am not aware what 'controls' does. Your named.conf does seem
rather brief.

> -= named.conf =-
> controls {
> inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
>
> include "/etc/named.custom";
>
> include "/etc/rndc.key";
>
>
>
>
>
>
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "0.0.127.in-addr.arpa.zone";
> };
>
>
> zone "localhost" {
> type master;
> file "localhost.zone";
> };
>
>
> zone "1.168.192.in-addr.arpa" {
> type master;
> notify no;
> file "1.168.192.in-addr.arpa.zone";
> };
>
> zone "home" in {
> type master;
> notify no;
> file "home.zone";
> };
>
> -= home.zone =-
> $TTL 86400
>
> @ IN SOA dns.home cocoadev.earthlink.net. (
> 1 ; Serial
> 1H ; Refresh 8 hours
> 1H ; Retry 2 hours
> 1W ; Expire 1 week
> 1D ; Minimum 1 day
> )
> IN NS dns.home
>
> localhost IN A 127.0.0.1
> dns IN A 192.168.1.23
> silver IN CNAME dns
> imac IN A 192.168.1.20
> music IN A 192.168.1.22
>
> -= 1.168.192.in-addr.arpa.zone =-
> $TTL 86400
>
> @ IN SOA dns.home cocoadev.earthlink.net. (
> 1 ; Serial
> 1H ; Refresh 8 hours
> 1H ; Retry 2 hours
> 1W ; Expire 1 week
> 1D ; Minimum 1 day
> )
> IN NS dns.home
>
> 20 IN PTR imac.home
> 23 IN PTR dns.home
> 22 IN PTR music.home

-- 
David Efflandt - All spam ignored  http://www.de-srv.com/


Relevant Pages