[luau] dns question?

Wayne Bow admin at stfrancis-oahu.org
Wed Mar 6 14:20:25 PST 2002


Aloha,
> Thanks for the suggestion, Jim.  Good to hear from you.  The hosts
> file in the %SystemRoot%\system32\drivers\etc was the ticket for the
> win2k box.  It doesn't seem to do the trick on the win98 box as yuser
> suggested.  Ken suggested looking at the link at  http://lmhosts.tcp-
> ip.nu about lmhosts.  I have tried it as well on the win98 box to no
> avail.  The mail server is pingable from the win98 box, hosts and
> lmhosts just don't seem to be resolving to the domain I have chosen
> and used successfully on the win2k box.  I have made sure that they
> kept their *.sam extension in the name, so I reckon its not a text
> formatting issue.  Any suggestions.

You must remove the extension name. '.sam' stands for sample. 
Both the hosts and the lmhosts file reside in %systemroot% on 
Win98. Neither should have the .sam extension.

Aloha,

> 
> I can use the mail server just fine with its ip address from any of
> the clients.  It is comfortable doing all this relaying, but using a
> name would be so much more fun.
> 
> scott
> 
> On Wednesday, March 6, 2002, at 09:13  AM, Jaymes Schooler wrote:
> 
> > Yes.
> >
> > for WinNT create a HOSTS file in %SystemRoot%\system32\drivers\etc
> >
> > Make your entries like this:
> >
> > 44.44.45.1 'testserver'
> >
> >
> > Idea...
> >
> > Add the network and host info into the /etc/mail/access file like
> > this
> >
> > 10.0	      RELAY
> > 192.168.	RELAY
> > 192.1.1.72	RELAY
> >
> > Why not add RELAY in your sendmail.mc file and add
> > FEATURE(`access_db', `hash -o /etc/mail/access')
> > and
> > FEATURE('relay_hosts_only')
> >
> > ACCESS_LIST in your sendmail.mc then add the IP addresses or the
> > subnet into the access file in /etc/mail directory then do rebuild
> > your /etc/sendmail.cf file using:
> >
> > M4 /etc/mail/sendmail.mc > /etc/sendmail.cf
> >
> > After you do this all hosts on the 192.168.x.x and the 10.0.x.x
> > network and the host 192.1.1.72 can relay and receive mail from your
> > sendmail.
> >
> > That way you don't have to worry about MicroCrap's settings
> >
> >
> > Just make sure to read the Man Pages on sendmail
> >
> >
> > Jim
> > -----Original Message-----
> > From: luau-admin at videl.ics.hawaii.edu
> > [mailto:luau-admin at videl.ics.hawaii.edu]On Behalf Of R Scott Belford
> > Sent: Wednesday, March 06, 2002 12:03 AM To:
> > luau at videl.ics.hawaii.edu Subject: [luau] dns question?
> >
> >
> > Does windows have an equivalent of /etc/hosts?  I ask because I have
> > a mail server for my lan with a private ip.  My boxes use the
> > internet and public dns servers.  I am guessing that the only way
> > that I can send mail through the local mail server from a windows
> > box to another lan client and be able to use a domain (fantasy, not
> > registered) name is to set up a domain server on my lan that
> > resolves my private ip address to whatever fantasy domain I choose. 
> > If you made it through that last sentence, is this correct?  Is
> > there a way to use fictional domains on a private lan using public
> > dns without setting up a private dns?  I know that the domains can't
> > be anything registered because the public dns's will resolve them to
> > sites unwanted.
> >
> > scott
> >
> > _______________________________________________
> > LUAU mailing list
> > LUAU at videl.ics.hawaii.edu
> > http://videl.ics.hawaii.edu/mailman/listinfo/luau
> >
> >
> > _______________________________________________
> > LUAU mailing list
> > LUAU at videl.ics.hawaii.edu
> > http://videl.ics.hawaii.edu/mailman/listinfo/luau
> 

Wayne Bow
Network Administrator
St Francis School                   (808) 988.4111 ext 107
"Quality education in a spirit of JOY"




More information about the LUAU mailing list