Review your favorite Linux distribution.
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 03-22-2004, 02:39 PM   #1
Registered: Oct 2003
Location: Germany
Distribution: Slackware 10.2, SuSE 10.0, Solaris(SPARC) 9+Solaris(x86) 9, NetBSD(sparc) 2.0.2
Posts: 43

Rep: Reputation: 15
Question DNS named and /etc/hosts

Hi to all,

I experience strange things going on wiht my local DNS. Sometimes I can "ping" the webserver in my DMZ and sometimes I can`t. 8-(

I sat up IPCop as a firewall/router with three NICs:
- first pointing to the Internet (DSL-modem)
- second pointing to the internal LAN
- third is connected to a DMZ with one webserver (the problemchild)

The DNS ( in the LAN serves my local network perfectly and in
"/etc/named.conf" the queries for foreign hosts are forwarded to my gateway/firewall (
forwarders {; };
forward only;

The gateway ( itself acts as a DNSproxy and puts queries through to the DNS supplied by my ISP. No problem.

*Lately* I sat up an old machine as a webserver in the DMZ.
It got a sepate network ( an a seperate domain ("dmz.local" instead of "tux.local" for "").

As a quick and dirty solution to the DNS-enty I used the "/etc/hosts/" of my gateway (DNSproxy). localhost bitgrab www.dmz.local www

I could understand if the DNS doesn`t work *at all*. On the other hand, it woud be fine *if* DNS works all the time, but what is puzzeling me is the fact that it *sometimes* works and *sometimes* don`t. 8-(

(By the way, "pinging" the IP is no problem, so it is no networking problem but seems to be related to the DNS.)

I would be grateful for any suggestions or solutions.



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 named.conf path asyadiqin Linux - Newbie 1 08-11-2004 10:19 PM
RH9 & Apache Named Based Virt Hosts mwmethe Linux - Networking 1 11-03-2003 09:17 AM
named - dns - problems blaci Linux - General 2 07-22-2003 01:32 AM
[DNS/NAMED] What is the SOA? BxBoy Linux - Networking 1 03-09-2003 04:31 PM
[named/DNS] How do you create subdomains? BxBoy Linux - Networking 7 01-12-2003 09:37 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:56 AM.

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
Open Source Consulting | Domain Registration