LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-26-2004, 10:13 AM   #1
hello321_1999
Member
 
Registered: Nov 2004
Posts: 33

Rep: Reputation: 15
nslookup gives "connection timed out; no server could be reached"


I am pretty new to Linux/networking, so please bear with me.

I have a SLES that I use as a webserver. It has the IP address 10.108.15.133 and subnet mask 255.255.252.0.
I have recently moved this server into my DMZ because I run a web application on this server, and want to keep the server in a different network from my company network.
When I type:
> nslookup XXX
(where XXX is some machine in my company network)
I get the following:

> nslookup XXX
;; connection timed out; no servers could be reached

I have used Yast2 to set my name server to 10.108.11.224, which is the DNS server for the company network.

I understand the cause of this problem could lie in many areas. E.g.:
1. nslookup not configured on the SLES
2. firewall preventing nslookup from using a DNS server sitting in a different network.
3. etc.

Why does nslookup not work from my SLES sitting in the DMZ? Is there any tests that I can do help me identify where the problem lies?

Thanks in advance.
 
Old 11-26-2004, 10:50 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
1. I would suspect that firewall prevents the dns traffic to flow freely between DMZ and LAN.
2. I would also check if DNS service is up and running on the nameserver.
Boris.

Last edited by neo77777; 11-26-2004 at 10:51 AM.
 
Old 11-26-2004, 11:02 AM   #3
hello321_1999
Member
 
Registered: Nov 2004
Posts: 33

Original Poster
Rep: Reputation: 15
1. What port do I need to open up to allow dns traffic to flow freely between DMZ and LAN?
2. How do I check if DNS service is up and running on the nameserver?
 
Old 11-26-2004, 11:23 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
you need to allow traffic from DMZ to nameserver on LAN on UDP port 53.
the easiest way to find out if dns is working on the nameserver is
dig @localhost hostname
and see if you get a result back
if you are using BIND you can check with
ps -ef|grep [n]amed
and see if the process is running
 
  


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
SSH issue ""Server unexpectedly closed network connection" Errsta_Fonzarelli Linux - Software 12 05-24-2010 02:35 PM
"Problem on setting up Linux Enterprise Server-Internet Connection" linuxculture Linux - Networking 1 04-18-2005 11:21 AM
DNS: connection timed out; no servers could be reached ubu_roi Linux - Networking 1 04-13-2005 11:45 AM
connection timed out;no servers could be reached nitin34847 Linux - Networking 0 05-23-2004 12:47 AM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 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