Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: hostname, telnet, & httpd problems
       [not found] ` <4hco9p$o5r@info-server.bbn.com>
@ 1996-03-03  5:00   ` Ron Natalie
  0 siblings, 0 replies; only message in thread
From: Ron Natalie @ 1996-03-03  5:00 UTC (permalink / raw)


bkort@labs-n.bbn.com wrote:
: John Gallaugher (jmgallau@mailbox.syr.edu) wrote:

: : After consulting the 'man' of 'hostname' it said to modify /etc/rc.local,
: : one of the first lines in this file listed nameA.syr.edu, so I changed it
: : to nameB.syr.edu, then I shut down my machine & re-booted.  This seemed to
: : return nameB.syr.edu from issuing 'hostname', but I could no longer telnet
: : into nameB.syr.edu like I could before.  Any ideas on what I can do to
: : keep them both in synch?  I suspect this might be causing problems with my
: : httpd server.

: When you telnet, the hostname is looked up in /etc/hosts or via the
: domain name server specified in /etc/resolv.conf.  If you change the
: hostname of system with /bin/hostname in /etc/rc.local, that change
: is unknown to /etc/hosts and to any domain name servers.  You can
: easily edit /etc/hosts, but you will have to pull strings to get
: some network admin change your DNS entry.

More correctly, on DEC (ULTRIX and UNIX) machines, the order and type of
resolution is controlled by the file /etc/svc.conf

-Ron



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-03  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <jmgallau-0203961632210001@sudial-119.syr.edu>
     [not found] ` <4hco9p$o5r@info-server.bbn.com>
1996-03-03  5:00   ` hostname, telnet, & httpd problems Ron Natalie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox