Re: [SLE] Changing domain on LAN?

From: Danny Sauer (suse-linux-e.suselists_at_danny.teleologic.net)
Date: 10/12/04

  • Next message: Allen: "Re: [SLE] I have SuSe Support, but how?"
    Date: Tue, 12 Oct 2004 15:29:33 -0500
    To: SuSE List <suse-linux-e@suse.com>
    
    
    

    John wrote regarding '[SLE] Changing domain on LAN?' on Tue, Oct 12 at 14:02:
    > I have a LAN of Linux systems, 2 SuSE and one Red Hat. Lets say they are
    > machine1.somedomain.whatever, machine2.somedomain.whatever,
    > machine3.somedomain.whatever. I want to change this to
    > machine1.someotherdomain.whatever, machine2.someotherdomain.whatever,
    > machine3.someotherdomain.whatever where the machine name and static IP remain
    > the same but the domain name changes. My IP will change the DNS to resolve
    > the new domain to the IP address. What changes to I have to make on the
    > Linux systems to change the domain?

    I'd take advantage of this opportunity to set up a DHCP server, set
    the domain name once on the DHCP server, and change the clients over
    to use DHCP rather than static IPs. This kind of hassle is one of
    the main reasons DHCP exists. :)

    If DHCP is overkill for you, you've just gotta change the place where
    each machine stores its dns domain name. You didn't mention what
    version of SuSE or RedHat you're using - the location has changed
    a few times over the years. If the systems are running relatively
    recent distros, though, you can just do a
        grep -r 'old.domainname' /etc
    to find not only the place where the system looks, but also things
    like /etc/postfix/main.cf, /etc/httpd/httpd.conf, /etc/hosts, and
    similar locations where the domain name might be stored.

    Ideally, you'd just have to look in /etc/resolv.conf. :) It depends
    on what you do with the systems as to where else you might need to
    look (NFS servers might need to update /etc/exports, for example).
    Most of the config files shoudl be in /etc. If you're running MySQL,
    for another example, you'll want to check the hosts table to make sure
    you didn't use the domain name in any access records.

    --Danny

    
    


    • application/pgp-signature attachment: stored

  • Next message: Allen: "Re: [SLE] I have SuSe Support, but how?"

    Relevant Pages

    • [SLE] Re: SOLVED: [SLE] DHCP failure
      ... I'm running a 3-subnet LAN from a SUSE 9.3 box, and until yesterday I had a functioning LAN with a manually built dhcpd.conf file. ... Then I saved off that file and used YaST to poke around in the dhcp server section and the NIC section. ...
      (SuSE)
    • Re: [SLE] How to set up PXE server?
      ... > Has anybody done this with SuSE? ... You need a DHCP server because PXE *uses* DHCP. ... address and the name of the file it needs to boot. ...
      (SuSE)
    • RE: [opensuse] enable DHCP server broadcast Suse 11
      ... Is there a way to ensure that the DHCP server on Suse will broadcast? ...
      (SuSE)
    • Re: DHCP ad hoc (MAC<=>IP)
      ... Configuring the Cisco IOS DHCP Server ... DHCP Address Pool Configuration: Example ...
      (comp.dcom.sys.cisco)
    • Re: Adding another DHCP Server
      ... For distributing scopes among multiple DHCP servers two well known ... If one or more DHCP servers service the same set of clients you ... Lets say you have a scope with the following AVAILABLE IP ... detection so that each DHCP server first checks a certain IP address ...
      (microsoft.public.win2000.advanced_server)