LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-09-2003, 03:30 PM   #1
noisybastard
Member
 
Registered: May 2003
Distribution: RedHat 9
Posts: 32

Rep: Reputation: 15
BIND only working some of the time


I've been running BIND for a while now, and it seems to work just fine for me, but some people are still having issues with the DNS resolving to the new server. I know what you're thinking -- that the nameserver entries just haven't been updated for them yet, but I made the DNS changes to point to my own server over a month ago. I've also gotten some error messages from LogWatch that just says "DNS: local configuration error: 6 Time(s)", so I know something must be wrong with my setup.

Here's my zone file:

;Begin of file /var/named/kitsapbands.zone
$TTL 43200
@ IN SOA ns1.kitsapbands.com. postmaster.kitsapbands.com. (
2000032701 ; Serial
300 ; Refresh - 5 Minutes
60 ; Retry - 1 minute
1209600 ; Expire - 2 Weeks
43200) ; Minimum - 12 Hours
IN NS ns1.kitsapbands.com.
IN MX 10 mail.kitsapbands.com.
IN A 64.113.1.119
www IN A 64.113.1.119
mail IN A 64.113.1.119
ns IN A 64.113.1.119
ftp IN CNAME www.kitsapbands.com.
;EOF



and here's my named.conf:


// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* 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 address * port 53;
};

//
// a caching only nameserver config
//
//controls {
// inet 127.0.0.1 allow { localhost; } keys { rndckey; };
//};
zone "." {
type hint;
file "named.ca";
};

zone "kitsapbands.com" {
type master;
file "kitsapbands.zone";
};

zone "localhost" {
type master;
file "localhost.zone";
// allow-update { none; };
};

zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
// allow-update { none; };
};




Any ideas here?
 
Old 06-11-2003, 06:58 PM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
I've looked over your file pretty carefully, and don't see how it differs from mine. I run three domains, and 12 sub-domains. I notice that your options section does not designate "allow-recursion". If you are trying to run DNS for local systems from this BIND, you should include that line. Since you have the bind package, you probably have dig. Why not try digging each of your machine names? That should tell you any errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working Bind config Files jagster Linux - Networking 1 09-13-2005 10:48 AM
BIND - Working, but not properly :( cosmicperl Linux - Software 3 07-23-2005 12:48 PM
running BIND on broadband connection - Domains not working pete-theobald Linux - Networking 3 05-25-2005 12:44 PM
A porgram that can take down the time when I'm working? :þ brynjarh Linux - Software 2 08-03-2004 10:35 PM
working with two distros in same time Nadim Slackware 5 04-03-2004 12:31 PM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration