Scott C. Best wrote:
>       Heyaz. So I'm using a fairly stock DS relase,
> and I've a question about properly setting up dnscache
> and my "host" entries in network.conf.
> 

Scott!

I hope all is well in the South Bay.  Are you going to make it
up to SF for the Linux Embedded conference this week:

    http://www.esconline.com/sf/


Just wondering.

As far as your post goes....

 >      How can I keep my LAN machines from making PTR?

Properly configure dnscache and tinydns-private on the
LEAF box, and point your resolv.conf nameserver entry on
the LEAF box to the LEAF box IP address to which dnscache
is bound.

Ok, that didn't come out too smoothly :)

I just went through this whole issue about two weeks ago,
figured it out, and submitted patches to JN's tinydns howto
and dnscache howto, which didn't quite get the config correct.
The docs also needed a blurb or two about how to set resolv.conf.
You can go read up on those, and you'll have it working in no
time, I'm sure.


It could be as little of a thing as changing the +entries
to  =entries, which create both A and PTR records.  That's
in the docs now.



 > requests to my ISP's DNS when trying to get host names
 > for internal LAN machines? I've setup the HOSTS section
 > of network.conf to give a hostname to my private.network
 > collection, but I can still see the network traffic
 > (using tcpdump) leaving my LAN. Did I miss setting something
 > for dnscache, to tell it to use /etc/hosts for machines
 > in the private.network domain?


It's unnecessary to have anything in /etc/hosts besides
    127.0.0.1           localhost
if your tinydns-private and dnscache are set up correctly.
Though, I'll admit, there's nothing wrong with putting
the IPaddr/name of your external nic in there if it's
a static IP/name, because data for that public nic does
not go into tinydns-private.
    63.194.217.179      adsl-63-194-213-179.dsl.snfc21.pacbell.net

I'm not convinced that entry will ever be used though, unless
the recursive resolution to the SOA for your public domain
doesn't get an answer (which would be bad :) )


 >      Thanks in advance for any leads.

No problem.  He just updated the docs.  So it's new to a lot
of people.


 > cheers,
 > Scott








_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to