Lynn Avants wrote:
Have you used the suggestions in the Bering Users Manual to set this up?
I remember Matt S. made some suggestions to updating the doc for this
type of setup many months ago. There should be a post in the leaf-user
archives with very implicit directions if your still having problems.
That was in reference to something slightly different,
but it may still help.
If you have tinydns running, bound to LEAF address 127.0.0.1
and dnscache running bound to LEAF eth1=192.168.1.254,
then you point your internal LAN boxes to resolve DNS
from 192.168.1.254 only.
Then, if you consistently use the same domain name internally
and externally, you can follow this line of thinking:
Let's say you registered mydomain.net. Then
you'd setup tinydns-private to resolve that
domain on the subnet 192.168.1.0/24, and you'd
setup tinydns-public to resolve that domain
for your external IP/subnet/network.
Here we're concerned with tinydns-private only,
because all the internal comps resolve names from
the LEAF box private side.
Then all you do is create proper entries in the file:
/etc/tinydns-private/root/data
Here's and example of what yours might look like:
---------------------------------------------
.mydomain.net::ns1.mydomain.net
.168.192.in-addr.arpa::ns1.mydomain.net
=firewall.mydomain.net:192.168.1.254
=server.mydomain.net:192.168.1.1
+www.mydomain.net:192.168.1.1
=wkstn1.mydomain.net:192.168.1.2
=wkstn2.mydomain.net:192.168.1.3
=laptp1.mydomain.net:192.168.2.1
---------------------------------------------
In the above example, any line starting with an = sign
creates both and A record and a PTR record so that name
will resolve to that IP address and vice versa:
server.mydomain.net <--> 192.168.1.1
Goes both ways. But the next line that starts with
a + sign creates only an A record making possible
name to address resolution only, ie:
www.mydomain.net ---> 192.168.1.1
Goes one way. If you issue the following command, with
djbutils.lrp installed,
dnsname 192.168.1.1
you always get back server.mydomain.net, the only PTR record.
That's about it. If I got this all wrong, lmk, and I'll try
to rework it with more info from you.
regards,
matt
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html