[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Configuring DNS a problem!!!



Hello again Blessing...

>> Hie All
>> I am trying to setup a DNS server on my local intranet and I'm trying
>> to  configure a DNS server using BIND 9.1.* also I have installed
>> bind-utils and caching-nameserver. Now when I start named I get the
>> following message from /var/log/messages
>>
>> Mar 11 23:47:31 blessing named[1240]: starting BIND 9.1.3

Upgrade to 9.2.x... find the latest or you are asking for troubles...

>> Mar 11 23:47:31 blessing named[1240]: using 1 CPU
>> Mar 11 23:47:31 blessing named[1242]: loading configuration from
>> '/etc/named.conf'
>> Mar 11 23:47:31 blessing named[1242]: the default for the 'auth-
>> nxdomain' option is now 'no'
>> Mar 11 23:47:31 blessing named[1242]: type 'inet' control channel has
>> no 'keys' clause; control channel will be disabled
>> Mar 11 23:47:31 blessing named[1242]: no IPv6 interfaces found
>> Mar 11 23:47:31 blessing named[1242]: listening on IPv4 interface lo,
>> 127.0.0.1#53
>> Mar 11 23:47:31 blessing named[1242]: no key statements
>> for use by control channels

start here.... first sign of trouble... there is no key statement. A key
statement is as follows:

key "dnskey" {
  algorithm hmac-md5;
  secret "<secret string>=";
};

...you didn't generate a key, did you? Trying to take shortcuts...


>> Mar 11 23:47:31 blessing named[1242]: couldn't open pid
>> file '/var/run/named/named.pid': Permission denied

permissions on that file should be named:named 0644

>> Mar 11 23:47:31 blessing named[1242]: exiting (due to early fatal error)
>> Mar 11 23:52:49 blessing named[1250]: starting BIND 9.1.3
>> Mar 11 23:52:49 blessing named[1250]: using 1 CPU
>> Mar 11 23:52:50 blessing named[1252]: loading configuration from
>> '/etc/named.conf'
>> Mar 11 23:52:50 blessing named[1252]: /etc/named.conf:8: parse error
>> near keys

See the above reference to the keys statement.

Blessing, we can't do it for you, and any help we give is lost if you
don't/won't do your homework thoroughly. You did not read any background
docs on dns, and you are trying to set up a public dns server without
having an inkling of an idea about what you are doing.

If this were ftp or web or mail, or something similar where all you can
fubar is yourself, I'de say "have at it", but it's not. DNS is the engine
that runs the Internet. Why redhat included that stupid stupid BindConf
gui thingy, I'll never know.

Go back to square one, uninstall bind and read the docs on the isc site
about bind. Then read the howto, and install 9.2.x. Follow the directions
one at a time. If it takes you a couple days, then either dedicate the
time to learn it or hire a consultant. And edit those damn files by hand.

-- 
Keith Mastin
BeechTree Information Technology Services Inc.
Toronto, Canada
(416)696 6070






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]