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 03-27-2009, 04:18 PM   #1
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Rep: Reputation: 0
Unhappy DNS Resolving


Hey everyone,

I need some help, I have set up a linux box using fedora 10, I have installed Shorewall and Squid and they are working fine. I have two Nic cards install.

Ip eth0 192.168.249.253
and Ip eth1 10.0.14.254

I have IP forwading enabled on the kernel and on the eth1 card the gateway is set for the eth0 ip. Dns is set for the eth1 ip as well as my ISP external servers.

The internet works fine on the Linux box, but when I try to ping a domain on one of the lan workstations it can not resolve I can ping the ip address of yahoo and google so I know they see the internet. Am I missing something I have Bind running
Any help would really help
 
Old 03-27-2009, 04:42 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
what is set in
Code:
/etc/resolv.conf
what is the output from
Code:
nslookup www.google.com
on the clients.
 
Old 03-27-2009, 06:12 PM   #3
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
what is set in
Code:
/etc/resolv.conf
what is the output from
Code:
nslookup www.google.com
on the clients.
/etc/resolv.conf

nameserver 10.0.14.254
nameserver 216.136.57.90
nameserver 168.215.210.50

search dolphin*********.com

when pinging the domain says unknown host
 
Old 03-28-2009, 01:06 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
what is the output from
Code:
nslookup www.google.com
on the clients

does the firewall allow queries on port 53?

Last edited by repo; 03-28-2009 at 01:07 AM.
 
Old 03-28-2009, 11:27 AM   #5
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Two questions on networking

Hi,

how to find out the routing scheme being used for the host in my organisation?

How to find the routing protocols being used in my organisation?
please reply. Thanks.
 
Old 03-28-2009, 11:41 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
palisetty_suman

Please start a new thread for your problem, instead of hijacking this one.

Thank you
 
Old 03-28-2009, 11:51 AM   #7
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Hi repo

HI repo,

i am actually a fan of you, so i was reading your answer and unknowingly wrote it here. Sorry.
 
Old 03-30-2009, 01:26 PM   #8
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
what is the output from
Code:
nslookup www.google.com
on the clients

does the firewall allow queries on port 53?


It attempts to but on the clients the DNS server it is set to is the linux machine 10.0.14.254 and it states that it is.
port 53 is open on the firewall. I pretty much copied the rules from the old box and imported them into the new one.
 
Old 03-30-2009, 01:30 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
can you give t output from
Code:
nslookup www.google.com
on the client?
 
Old 03-30-2009, 02:04 PM   #10
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
can you give t output from
Code:
nslookup www.google.com
on the client?

I honestly at the moment can not since the new box is meant to replace the old one and it is not hooked up untill I can resolve that issue. We have tried various times to get it to work and still nothing. so we have taken it off the network untill i can generate ideas of where to look for the problem and then test it again.

The old box handles the internet email and proxy for the lan so I can not take it offline during operation hours. if you can direct me to where to look at possible issues then I could look into it.

Question does bind have to have an ip to listen on or can it be told to listen to which ever card for requests?

I have experience with linux but I never had to do this type of work before for a lan. Plus I am a windows based person but I am loving linux and have learned a great deal about it.
 
Old 04-02-2009, 02:32 PM   #11
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
ok so no more help :-(
 
Old 04-03-2009, 02:17 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
How can we help if you can't provide basic information.
We need to rule out possible problems.

nslookup from the client is needed to see if the dns server in /etc/resolv.conf is reachable, and answering.
In squid you need to allow queries from the client.
First try with the DNS from the provider to see if they work.
Make sure port 53 is open
telnet 10.0.14.254 53
 
Old 04-06-2009, 04:52 PM   #13
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
How can we help if you can't provide basic information.
We need to rule out possible problems.

nslookup from the client is needed to see if the dns server in /etc/resolv.conf is reachable, and answering.
In squid you need to allow queries from the client.
First try with the DNS from the provider to see if they work.
Make sure port 53 is open
telnet 10.0.14.254 53
I will look into those issues tuesday night and get you that info, my apologies.
 
Old 04-08-2009, 02:27 PM   #14
kaitech76
LQ Newbie
 
Registered: Mar 2009
Location: Honolulu
Distribution: Fedora 10 and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Ok I got to test it out and i havethe message that the clients give me when doing a nslookup.

C:\Documents and Settings\Administrator>nslookup google.com
*** Can't find server name for address 10.0.14.254: No response from server
*** Default servers are not available
Server: UnKnown
Address: 10.0.14.254

*** UnKnown can't find google.com: No response from server

C:\Documents and Settings\Administrator>nslookup google.com
*** Can't find server name for address 10.0.14.254: No response from server
*** Default servers are not available
Server: UnKnown
Address: 10.0.14.254

*** UnKnown can't find google.com: No response from server


Also is there a reason that fedora 10 keeps deleting the dns that is inputed, everytime I restart network it removes the dns entries.

Should I be using RHEL as a server instead of Fedora,

Last edited by kaitech76; 04-08-2009 at 03:02 PM.
 
Old 04-08-2009, 02:59 PM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Address: 10.0.14.254
*** UnKnown can't find google.com: No response from server
Your server doesn't allow dns queries.
Seems to me squid doesn't allow connections from the client
or the firewall is blocking request on port 53

from the client do
telnet 10.0.14.254 53

Try to put a external DNS (from your provider) into the client and see if that works.
 
  


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
DNS Resolving sarukie Linux - Networking 1 11-22-2004 10:41 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM
DNS not resolving ElementNine Linux - Networking 5 09-30-2003 06:42 AM
DNS isn't resolving. member57 Linux - Networking 3 07-15-2003 12:50 PM
resolving DNS w/ ports robeb Linux - Networking 2 06-27-2002 02:01 AM


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