DNS Cache Server

NiY niyamas at gmail.com
Tue Nov 9 16:29:58 PST 2004


On 11/9/2004 4:01 PM NiY wrote:

> Noticed the tread on a caching DNS server, and that brought up a
> couple of questions   I had.
> I have a DNS server set up in my home. I have a FreeBSD 5.2.1 box
> acting as my gateway, running ipfw and natd. It routes my one static
> IP address from my DSL provider to a set of internal, unroutable IPs.
> That part is working fine. Also on that box is a caching DNS server.
> The internal IP for the gateway is 192.168.0.1. My problems are two
> fold, and may or may not be related.
>
> 1) I cannot, from either the gateway or any of the internal machines,
> get DNS query responses from 192.168.0.1. I can get query responses
> from 127.0.0.1 and the external IP address from the gateway, and I can
> get query responses from the external IP from any of the internal
> machines (well, partially. See below).
>
> 2) When I do set up my FBSD 5.3 box inside the network with the
> external IP of the gateway in resolv.conf, I can ping and nslookup DNS
> names just fine. However, when I go to use Mozilla (Or any browser for
> that matter), they hang on "Resolving host:". nslookup tells me it is
> using my gateway as the DNS server, and never tells me it's switching
> to another server for queries.
>
> Any ideas?
>
Are you running some sort of packet filter?  If you are, I'd try
turning it off and then see if you still have problems.  If you do,
then you know that you need to modify your rules to allow the traffic
through the internal interface.

HTH,


-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com 
----------------------------------------------------------------------------------------------------------

I am using ipfw, and am not deying anything on the internal network. I
do some filtering on traffic coming into the gateway from the external
IP, but nothing on any of the internal IPs. What I'm denying inbound
shouldn't have anything to do with DNS, either. Just to be sure, I did
set the default type to open and used a blank ipfw config, but that
didn't help any.


More information about the freebsd-questions mailing list