Networking Forums

Networking Forums > Computer Networking > Linux Networking > I can't get named to start

Reply
Thread Tools Display Modes

I can't get named to start

 
 
NOSPAM
Guest
Posts: n/a

 
      08-22-2003, 10:19 PM
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

-= 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
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      08-23-2003, 02:05 AM
On 22 Aug 2003 15:19:08 -0700, NOSPAM <(E-Mail Removed)> 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/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
named problem? Mike Linux Networking 6 01-16-2007 07:24 PM
named problem pandi Linux Networking 1 10-03-2006 02:17 PM
dhcpd in rc script doesn't start, but it does start by hand j Linux Networking 3 06-08-2004 12:30 PM
RH9: I need to start ADSL-START as root for the first time after boot .... Gabolander Linux Networking 3 08-13-2003 09:52 AM
linux named mark stephens Linux Networking 4 08-06-2003 03:34 PM



1 2 3 4 5 6 7 8 9 10 11