Michael D Schleif wrote:

Kory Krofft <[EMAIL PROTECTED]> [2003:12:26:21:47:40-0500] scribed:
<snip />



using the host command, I can get the dmz host to resolve other names
and reverse lookup other ips but not it's own. I altered the
/etc/tinydns-private/root/data file to read:

=localhost:127.0.0.1
localhost:127.0.0.1:a
1.0.0.127.in-addr.arpa:127.0.0.1:a
kroffts.home:127.0.0.1:a
1.168.192.in-addr.arpa:127.0.0.1:a
=markii.kroffts.home:192.168.1.254
=coventry.kroffts.home:192.168.1.1
=mail.kroffts.dmz:192.168.10.1
@kroffts.dmz:192.168.10.1:mail.kroffts.dmz
@10.168.192.in-addr.arpa::mail.kroffts.dmz



As Lynn points out, dnscache on your router may function best at 127.0.0.0, and tinydns at 192.168.1.254 _and_ 192.168.10.254. However, as you undoubtedly know, tinydns can bind to only one (1) interface. Therefore, you will need to run a _second_ instance of tinydns, one authoritative for 192.168.1/24 and the other authoritative for 192.168.10/24.



I use tiny dns to resolve both my networks running from two interfaces on the router - but I had to label the dmz machine with the same network name as the local network.

dnscache internal adresses are 192.168.1.254 and 192.168.2.254

tinydns internal address is 127.0.0.1

* * *
maybe it is cheating but this sort of thing works for me in /etc/tinydns-private/root/data


.kroffts.home::localhost
.1.168.192.in-addr.arpa::localhost
=markii.kroffts.home:192.168.1.254
=coventry.kroffts.home:192.168.1.1
etc

.kroffts.dmz::localhost
.10.168.192.in-addr.arpa::localhost
=mail.kroffts.home:192.168.10.1





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
------------------------------------------------------------------------
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

Reply via email to