LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2010, 12:20 PM   #1
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
BIND dns wont work


i just installed bind on my fedora 14 machine.and it work perfectly on the local-host, but my others machines can't use it.

any suggestions?

by the way,I've already opened the port 53 .
 
Old 12-10-2010, 12:21 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Any error messages?

Kind regards
 
Old 12-10-2010, 12:26 PM   #3
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Original Poster
Rep: Reputation: 27
no error messages!!
 
Old 12-10-2010, 12:28 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what happens if you do
Code:
nslookup google.com
in a terminal from the clients?

Did you allowed your network to use the nameserver?
Edit or add the following in /etc/bind/named.conf
Code:
allow-query { SomeIP ; 127.0.0.1; };
127.0.0.1 allows queries from your localhost. By adding 192.168.0.0/24, you will allow other machines on your local netwerk to use your local DNS-server.

restart bind

Kind regards

Last edited by repo; 12-10-2010 at 12:35 PM.
 
Old 12-10-2010, 12:39 PM   #5
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
You need a zone file for your internal network. Right now bind is only running on loopback.
 
Old 12-10-2010, 12:42 PM   #6
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Original Poster
Rep: Reputation: 27
from another machine,nslookup gives me:

Query refused.
 
Old 12-10-2010, 01:24 PM   #7
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Original Poster
Rep: Reputation: 27
Perfect,I added 192.168.1.0/24 to allow-query,and it Works just fine

thx guys a lot.
 
Old 12-11-2010, 04:04 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by ilvista View Post
Perfect,I added 192.168.1.0/24 to allow-query,and it Works just fine

thx guys a lot.
You can mark the thread solved using the thread tools.

Kind regards
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind.DNS Help needed on Split DNS server manya Linux - Server 3 10-28-2010 08:39 AM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 07:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM
Fedora Core 4 DHCPD and BIND, cannot get Dynamic DNS to work trainpic Linux - Networking 2 02-25-2006 04:27 PM
dns wont work dilberim82 Linux - Networking 11 12-27-2001 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration