LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-21-2005, 09:55 AM   #1
bootface
LQ Newbie
 
Registered: Mar 2005
Location: Canada
Posts: 6

Rep: Reputation: 0
Internal Can't Resolve Names


Hello,
I have been configuring a new firewall for quite some time. And I think I am almost there the only problem is our internal computers can't resolve external names. i.e. can't get google dot com from a computer inside but can get to it using an IP. The interesting thing is that from the firewall itself it resolves names no problem.

So, I have been RTFM'ing all morning but can't find where I should be setting the internal clients to use my ISP's name server for the names.

My resolv.conf:
search mydomain.com
nameserer xxx.xxx.xxx.1
nameserer xxx.xxx.xxx.2

Is it an IPTABLES thing or some other routing thing? And how do I fix it.

Thanks.
 
Old 03-21-2005, 10:03 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
It's possible that it might be an iptables issue. Try telneting to port 53 of the DNS servers. If you don't get a connection, then look in to your iptable rules.
 
Old 03-21-2005, 10:23 AM   #3
bootface
LQ Newbie
 
Registered: Mar 2005
Location: Canada
Posts: 6

Original Poster
Rep: Reputation: 0
When I telnet to my first DNS address I get: "Could not open connection to the host, on port 53: Connect failed." However, with the second DNS I connect fine. (Could be just a problem with my ISPs first DNS?)
 
Old 03-21-2005, 12:00 PM   #4
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Yeah, chances are good it's just your ISPs DNS goofing up.

I'd just delete the entry that isn't working, or move it to the bottom.

Also, you'll want to check out your nsswitch.conf file too, that's where the computer will know in what order it should try doing DNS.

This is the section that you're ineterested in ( example of mine )

#hosts: db files nisplus nis dns
hosts: files dns

Files checks /etc/hosts, dns uses the stuff in resolv.conf

If you can telent on port 53 to your DNS servers, then you should be resolving, try using dig www.google.com as well ( assuming you can connect )...that should work.
 
  


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
unable to resolve domain names natekris2331 Slackware 9 02-12-2011 12:27 PM
Cannot resolve names bigd Linux - Networking 1 10-09-2005 12:06 PM
i can't resolve names on the network khh80 Linux - Networking 2 07-14-2005 07:02 AM
Can bind 9 (DNS) resolve names based on who's asking?? (internal vs. external clients registering Linux - Networking 3 06-16-2004 07:25 AM
Unable to resolve names Starblade Linux - Networking 1 10-25-2003 02:48 AM

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

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