From owner-freebsd-questions Thu Sep 26 09:21:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA15401 for questions-outgoing; Thu, 26 Sep 1996 09:21:39 -0700 (PDT) Received: from hps.sso.wdl.lmco.com (hps.sso.wdl.lmco.com [158.186.22.100]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA15321 for ; Thu, 26 Sep 1996 09:21:29 -0700 (PDT) Received: from miles.sso.wdl.lmco.com ([158.186.22.102]) by hps.sso.wdl.lmco.com (4.1/SSO-4.01-LMCO) id AA03821; Tue, 24 Sep 96 19:40:38 EDT Received: by miles.sso.wdl.lmco.com (4.1/SSO-SUN-2.04) id AA02084; Tue, 24 Sep 96 19:36:21 EDT Date: Tue, 24 Sep 1996 19:36:20 -0400 (EDT) From: Richard Toren X-Sender: rpt@miles To: questions Subject: switching domain names Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am looking for the method to switch the doamin name of my system on the fly. I have two possible connections to the world. 1) Through work. I have an allocated IP address and host name, and domain name 2) Recreational ISP that allocates a dynamic IP at hook up. Obviously a different domain name. I am not sure where the host and domain names are taken from. sysconfig has: hostname="xxxx.sso.wdl.lmco.com" resolv.conf has: domain sso.wdl.lmco.com But when in recreational mode I want to change the domain name to the ISP's domain and possibly set my hostname to what his DNS says I am. Is it possible to us some command to change that domain name. I think I can get the host name changed, but can't find a similar command for the domain. Thanks in advance ==================================================== Rip Toren | The bad news is that C++ is not an object-oriented | rpt@sso.wdl.lmco.com | programming language. .... The good news is that | | C++ supports object-oriented programming. | | C++ Programming & Fundamental Concepts | | by Anderson & Heinze | ====================================================