| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Tue, 26 Nov 1996 20:52:04 -0700 (MST) From: Todd Weible <toddw@cyberhighway.net> To: redhat-list@redhat.com In-Reply-To: <199611270320.TAA09476@max2-151.spiritone.com> Resent-From: redhat-list@redhat.com Reply-To: redhat-list@redhat.com On Tue, 26 Nov 1996 bilker@bigfoot.com wrote: [major cut] > So in sum: > > at boot: > hostname: sludge > /etc/resolve.conf -- symlink --> /etc/resolv.conf-noapp > > ppp-on script outline: > /etc/resolv.conf -- symlink --> /etc/resolv.conf-isp > <start pppd, dial up ISP, etc.> > once PPP link established: > use ifconfig to determine IP address > use IP address to determine FQDN (from ISP's nameserver) > set hostname to the FQDN > [[ for example, right now my hostname is "max2-151.spiritone.com", > but last night it was "max1-50.spiritone.com". ]] I am interested in this. But my question is, why make your hostname match the one the ISP is using? If it is always changing, you cannot give it out to anyone. I guess I just can't see the advantage over what I do which is assign myself a bogus domain name for no real reason, I configure sendmail to have the appropriate configuration, and if I want to log in to my machine remotely, I just telnet to my ISP, check my IP, and telnet to it. Anyway, please let me know what advantage there is in having the domain name of your machine match the name assigned to you. Todd toddw@cyberhighway.net > > once PPP link terminates, put things back to boottime conditions: > set hostname back to sludge > /etc/resolv.conf -- symlink--> /etc/resolv.conf-noapp > > The only problems with this (so far) are: > 1. A crash or powerfail with PPP up leaves the wrong /etc/resolv.conf > file in place. This is not serious, and could be fixed via "rc". > 2. without proper training, sendmail uses a default "From: <bilker@sludge>" > header in outgoing mail (I use an emacs macro to override). > > > ------------ /etc/resolv.conf-noapp The "empty" resolver config file ---- > search > nameserver > -------------------------------------------------------------------------- > > I've sent my scripts and programs out to a few people. I'll send them to > anyone who asks. I'd also be interested in hearing better ideas, as I'm > under no illusions that this is the best of all possible solutions. > > Bill Kerr > bilker@sludge (haha) > Todd Weible "Venimus, Vidimus, Dolavimus"--SSC toddw@cyberhighway.net or tweible@onyx.idbsu.edu Computer Science Boise State University -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! ________________________________________________________________________ http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists ------------------------------------------------------------------------ To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |