Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Any ideas what is wrong? Can I make the PID file myself. Where do I have to put it? Any suggestions? I googled already a lot...No of the returns fixes my problem.
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source port 53;
//forward only;
recursion yes;
//check-names response warn;
//check-names master warn;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/rndc.key";
zone "wauters-mannaert.be" {
type master;
file "/var/named/named.hosts";
};
zone "localhost" {
type master;
file "/var/named/localhost.zone";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "/var/named/local.rev";
};
zone "0.0.10.in-addr.arpa" {
type master;
file "/var/named/named.rev";
};
[root@thorgal etc]# cat rndc.conf
/*
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
# touch named.pid
put it in /var/run where the other pid files are
but i think thats not ur problem try this:
go to /usr/sbin and run
./named-checkconf
this checks ur named.conf file for errors
it might be the rndc key
I've found if you use `service named restart` it doesnt work properly... I've always had to `killall -9 named` then `service named start`
If it's a service, it will not show up in ps aux, but if you do a netstat -anp as root it will tell you the process thats running on the specific port, bind for example and you can check to see if it's running. Bind runs on port 53 fyi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.