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 (192.168.10.6) in the LAN serves my local network perfectly and in
"/etc/named.conf" the queries for foreign hosts are forwarded to my gateway/firewall (192.168.10.1).
...
forwarders { 192.168.10.1; };
forward only;
...
The gateway (192.168.10.1) 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 (192.168.11.0) an a seperate domain ("dmz.local" instead of "tux.local" for "192.168.10.0").
As a quick and dirty solution to the DNS-enty I used the "/etc/hosts/" of my gateway (DNSproxy).
127.0.0.1 localhost
192.168.10.1 bitgrab
192.168.11.2
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.
Pollyanna