Latest LQ Deal: Latest LQ Deals
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 12-23-2005, 10:25 PM   #1
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
Strange DNS problem

ok here is my office setup. We are a Software Development company and I am handling the system administration part.

1) There is Windows 2000 Server Domain Controller with IP Addr:

2) There are all Windows 2000 Profesional Clients

3) There is one Fedora C3 running Squid 2.5 Proxy server and DNS caching server. This machine offcourse has 2 NIC one with a Private IP address and other with a public IP address connected to a router with a public IP address

My /etc/resolv.conf contains nameserver IP pointing to my ISP's DNS servers.

Now I had posted a problem here:

To solve the above problem i have to start a caching DNS server so that Mail clients can work.

Also some developers require direct internet connection to certain URL while compiling thier applications. So I MASQUERADE them with iptables.

If i shutdown the cahing DNS both mail clients & applications fail.

4) Now the strange issue
Every windows 2000 client gets IP via DHCP and the gateway is

Also i configre the Primary DNS to and I also have to configure Secondary DNS server to

Now most of my developers access services on our other Internal productions servers from within thier Internet browsers for example:

srv02 = is bugzilla

so to access bugzilla they type: http://srv02/bugs

but strangely it resolve to a public Address instead of

when i test with nslookup srv02 it will perfectly resolves to with DNS server then why the hell it points to a public address.

If i do
ipconfig /flushdns
ipconfig /release
ipconfig /renew

it will resolve correctly

Also if i remove then it will work fine but i can't do that.

To temporarily solve this problem i have copied hosts file with IP-Name mapping on every client.

I know about a file in linux /ets/nsswitch.conf .

How to do similar in Windows 2000 if i want the client to first check hosts then WINS and finally DNS coz i also though of installing WINS on though it is not required on a Domain Controller

or How to fix this strange DNS problem

thank you n sory for the long story

Last edited by ~=gr3p=~; 12-23-2005 at 10:26 PM.
Old 12-23-2005, 11:29 PM   #2
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
To find anything in a Windows Active Directory domain, your clients have to use the DNS server on the domain controller. Therefore, just use as the DNS server reported by DHCP.

OK, to find public IP addresses from the Windows DNS server, you have two choices. 1) allow the Windows DNS server to make DNS queries out to the Internet by allowing outbound DNS through your firewall, or 2) set the forwarder on the Windows DNS server to send any query it can't respond to (those being any domain for which it doesn't have a zonefile) to the Linux DNS server. This will allow both internal and external DNS queries.


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
strange problem... blackv1rus Linux - Networking 3 11-02-2005 04:56 PM
strange problem tgo Slackware 6 03-31-2005 05:01 PM
Strange problem or bug bato Slackware 3 02-18-2005 01:56 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
strange x problem frieza Linux - Software 0 03-25-2003 11:20 PM > Forums > Linux Forums > Linux - Networking

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