Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-31-2007, 03:11 PM   #1
LQ Newbie
Registered: Jun 2005
Distribution: Mandriva
Posts: 4

Rep: Reputation: 0
CentOS DNS fails on internal network (works on server)

CISCO --- CentOS ----- WinXP machine
_____ . . . . . . . . ________
eth0 ---- ***** ----- eth1

Hi everyone... two of us have been beating our heads against the wall and can't figure this out, so I hope someone can help.

I'm using webmin to configure all the settings.

The Server (CentOS4) has two NICs, one connected to a cisco router and the other to the internal network. It is doing NAT translation.

What works:
Server can connect and browse the internet without any issues. DNS lookup works great.
DHCP is serving ip,subnet,gateway, and all 3 dns server ip's properly to the client (winxp box at this time).
Client can browse the web using the IP address (google, ipchicken, whatever), but dns fails.
Client can use the IP to get to google, and perform a search, which works fine. Clicking a link fails because of DNS failure.
Client can ping the DNS servers fine.
Client can see and interact with the internal network, and with apache on the server perfectly.

What fails:
Client cannot use any name to connect outbound, DNS lookup fails.
On WinXP client, nslookup command fails to find the name of the dns servers and times out after 2 seconds.

The Server does not have BIND DNS installed because our ISP provides great DNS service, saw no need to add to the confusion.

We are baffled as to why DNS works at the server, nat traversal works at the client, but dns lookup is not passing along.


Some screenshots:

-Andy Lurig (ignore my sig, it is out of date)
Old 05-31-2007, 03:36 PM   #2
LQ Newbie
Registered: Jun 2005
Distribution: Mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah... Firewall was blocking. Had to add a rule, ACCEPT UDP 53.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Server (bind9) works on the private network but not in the public one! wjleon Linux - Networking 26 01-24-2009 09:14 PM
Configuring DNS Server on internal stand alone network with virtual clients scnetlab Red Hat 2 03-23-2006 02:31 AM
Dedicated Server with CentOS 4.x and DNS Xoleum Linux - Newbie 3 09-10-2005 03:48 PM
DNS registration on internal network acb67 Linux - Networking 4 03-02-2005 02:14 PM
DNS For an internal network??? Milkman00 Linux - General 6 09-02-2002 04:38 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration