SUCCESS!!!!   Thanks a bunch Brad!  Thanks to everyone else that offered
their insights.  It only took about 8 hours total work time but it
works!!!  For posterity I have listed each configuration item farther
down.

I missed a point you made about making sure /etc/dnscache/root/servers
had a mullan.dns2go.com file with 127.0.0.1 and even then I missed that
/etc/tinydns-private/env/DOMAINS created the file.

The whole point of this exercise was to relieve me of creating two sets
of many local web pages that contain Java and PHP that reference back to
my web site.  As most of you are probably aware, the router can't handle
the internal requests that go out and back in as would happen when
resolving 'mullan.dns2go.com'

*** For more info on what was done, read the thread, it is attached. ***

Installation is modified Dachstein (DiskOnChip boot)

----------------------------------------------

/etc/tinydns-private/env/DOMAINS:
  1.168.192.in-addr.arpa
  private.network
  mullan.dns2go.com

----------------------------------------------
DHCLIENT:
  # Use local DNSCache by default for DNS resolution
  # supersede domain-name "private.network" ;
  prepend domain-name-servers 192.168.1.254 ;
----------------------------------------------
DNSCACHE:
  FORWARDONLY=NO
----------------------------------------------
TINYDNS:
  Type=PRIVATE
  Internal DNS IP: 127.0.0.1
  Data.....
     .1.168.192.in-addr.arpa::localhost
     .mullan.dns2go.com:192.168.1.254
     &mullan.dns2go.com:192.168.1.254:myrouter.private.network
     =mullan.dns2go.com:192.168.1.128
----------------------------------------------
NETWORK.CONF:
  CONFIG_DNS=NO



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brad Fritz
Sent: Friday, June 07, 2002 9:57 PM
To: John Mullan
Cc: [EMAIL PROTECTED]
Subject: Re: [leaf-user] Re: Using HOSTS file (was: leaf-user digest,
Vol 1 #937 - 14 msgs) 



Hi, John.  Sounds like you're getting close.  More inline...

On Fri, 07 Jun 2002 20:39:21 EDT John Mullan wrote:

> I have made all the required changes.  I even changed the
network.conf.
> The variable you mention seems to be CONFIG_DNS=NO
> 
> Resolv.conf still gets overwritten with 'nameserver 127.0.0.1'
> 
> Further in the script (in the section marked 'requires
CONFIG_DNS=YES')
> I made sure I changed the 127.0.0.1 entry to 192.168.1.254 and it
still
> leaves my resolv.conf file without the 192.168.1.254 entry and puts in
> the 127.0.0.1.  I did backup all packages (in case you were wondering
:)
> 
> There must be another spot in another script that changes this.  I
just
> don't know were to look.  I have scanned the network.conf file for any
> other references to no avail.

Sure is.  I completely forgot last night.  Dachstein v1.02
has a "prepend domain-name-servers 127.0.0.1 ;" line in
/etc/dhclient.conf that will need to be changed.
 
> Also, I do not know how to 'reload' tinydns with the new info (to save
> rebooting and having files rewritten).

/usr/bin/tinydns-data should do it.  It's also called from
/etc/init.d/tinydns, so a "svi tinydns restart" will also
work.

--Brad

> John

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

------------------------------------------------------------------------
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


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

------------------------------------------------------------------------
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