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 07-29-2008, 09:47 AM   #1
redhatuser41104
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Question "no servers could be reached" - on my dns setup (fedora)


Greetings to everybody. Its my first time to post. Im having problem configuring my dns. I used "dig" (i used another machine) to test my dns server, I just always get this message "no servers could be reached".
I would really appreciate any help. Im struggling on dns. Thanks.
 
Old 07-29-2008, 03:05 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Need more info (and then I'm not sure I can help):
  • Are you trying to run BIND as your DNS server (this is probably a mistake, but we'll go with it for the minute)?
  • Is bind (or whatever) running
  • Any error messages when you tried to run it in a shell? Anything in logs?
  • I'm guessing that you are only using it to resolve external (internaet) hostnames. Is this correct? If not, what are you trying to cache.
You might also want to say why you think this is a good idea (i.e., what are you trying to achieve). Is this on a Red Hat box? Two network interfaces and no DMZ?
 
Old 07-29-2008, 10:39 PM   #3
redhatuser41104
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Im am using BIND8, running on Fedora5. My bind is running good (based on my tests) on my dns server itself (server ip 192.168.1.100). "dig" and "nslookup" are giving the right answers - within the dns server itself. But when i use my other redhat box (connected locally with ip 192.168.1.2), i get "no servers could be reached".

Here are portions of my bind configuration. The info might help...

-------------------------
file: /etc/named.conf
-------------------------
options {
directory "/var/named";
query-source address * port 53;
forward first;
forwarders {
202.138.128.54; // the primary dns of my isp
202.138.128.50 // secondary dns of isp
};
allow-query { 192.168.1.7; localhost; };
allow-recursion { 192.168.1.7; localhost;};
};
controls {
inet 127.0.0.1 allow {localhost;} keys {rndckey;};
};
zone "localhost" IN{
type master;
file "localhost.zone";
allow-update {none;};
};
zone "bagabaglinux.com" {
type master;
notify no;
file "bagabaglinux.com";
};
Note: i excluded reverse dns for zone "0.0.127.in-addr.arpa" and the likes for brevity.

------------------------------------------------
file: /var/named/chroot/var/named/named.local
------------------------------------------------
$TTL 3D
@ IN SOA ns.bagabaglinux.com hostmaster.bagabaglinux.com. (
1 ; serial
....
NS ns.bagabaglinux.com.
1 PTR localhost.

-------------------------------------------------
file: /var/named/chroot/var/named/bagabaglinux.com
-------------------------------------------------
; zone file for bagabaglinux.com
$TTL 3D
@ IN SOA ns.bagabaglinux.com. hostmaster.bagabaglinux.com (
2008071614; serial
...
NS ns; Inet address of name server
MX 10 mail ; primary mail exchanger

localhost A 127.0.0.1
gw A 192.168.1.1
ns A 192.168.1.100
MX 10 mail
www CNAME ns
mail A 192.168.1.100
MX 10 mail

herb A 192.168.1.2
-----------------------------------------------------

These are my configurations. I used my other linux box "herb" with ip 192.168.1.2, and issued dig to check my dns server. There the message goes "no servers could be reached".

Im planin to use this name server to resolve local and external (internet) queries.

I would appreciate any help... Thanks...
 
Old 07-30-2008, 12:49 AM   #4
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 32
make sure your pc client connected on the network is using the private DNS. in linux it is located on /etc/resolv.conf.

digitelone is from philipine right?
 
Old 07-30-2008, 10:12 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Im am using BIND8, running on Fedora5.
Bind 8??? Isn't that rather long in the tooth? Fedora is currently on 9.5.1 and the oldest I can find reference to on the distrowatch Fedora page is 9.2.2-P3. Remember that a substantial number of those minor version bumps will have been for things that could cause a security issue (maybe there weren't exploits for each of those at the time, but with something as old as Bind 8 that's hardly an issue)...
 
  


Reply

Tags
dnsbind



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
getting the error "quota limit reached" in cups, debian box htamayo Linux - Newbie 1 06-16-2008 11:25 AM
FC6 Won't Boot: "Critical Temperature Reached (128 C), shutting down" sancho Linux - Laptop and Netbook 11 04-23-2007 06:01 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
DNS: connection timed out; no servers could be reached ubu_roi Linux - Networking 1 04-13-2005 11:45 AM
Easy setup for "DNS, DHCP, squid, qmail, samba, etc " mobassir Linux - Software 8 08-18-2004 07:31 AM

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

All times are GMT -5. The time now is 06:53 PM.

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