On Tue, 2003-03-25 at 15:20, Steve Buehler wrote: > I just had a redhat linux 7.3 box setup and they gave it the wrong domain > name. Besides the /etc/sysconfig/network file what files do I need to > change? Any help would be appreciated.
To change the DNS domain name: 1. Place an entry in /etc/sysctl.conf such as: kernel.domainname = example.com I think this ensures that the getdomainname() system call and the dnsdomainname utility return your domain name. 2. Place an entry in /etc/sysconfig/network such as: DOMAIN=example.com I think this ensures that /etc/resolv.conf contains your domain name. To change the NIS/YP domain name: 1. Create a file /etc/defaultdomain that contains: example.com I don't think Red Hat Linux actually obeys this one! :-) 2. Place an entry in /etc/sysconfig/network such as: NISDOMAIN=example.com I think this makes ypbind connect to this NIS domain. Hope this helps -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list