[TriLUG] down, but not^h^h^h defeated

Greg Brown gregbrown at mindspring.com
Fri Aug 13 12:36:05 EDT 2004


Thanks Tanner!


On Friday, Aug 13, 2004, at 11:27 US/Eastern, Tanner Lovelace wrote:

> Greg Brown said the following on 8/13/04 11:09 AM:
>
>> For no reason other than I didn't set the thing up in the first place 
>> and the I'm now just having to deal with it.
>> Can someone PLEASE explain to me WHY CentOS WILL NOT allow you to set 
>> a hostname then obtain the domain information from DNS?
>> Here's now it works (and it does work, I've tested it) under RH 7.1:
>> 1. install
>> 2. set hostname in /etc/sysconfig/network (do not put domain info, 
>> just hostname)
>> 3. plug machine into network
>> 4. reboot
>> 5. rejoice, vtcmail.gc.lucent.com is resolvable by other machines
>> Do the same thing with CentOS.. doesn't work.  Set the hostname after 
>> reading the hostname man page.. doesn't work.
>> NOTHING works!
>> BAH!!!
>> Greg
>
> Greg,
>
> Setting the hostname should do nothing to the DNS setup.  They are
> two completely different things.  The DNS setup should be done on
> the DNS server.  If that matches vtcmail.gc.lucent.com, then you
> should look in /etc/named.conf for where the dns files are located
> (it will generally be something like /var/named/).  Setting the 
> hostname
> on the machine itself should only affect stuff on the local machine.
> The hostname doesn't even have to match the DNS name. I don't know why
> you're seeing what you're seeing on RH 7.1, but there
> must be something else in play there.  So, look at the dns settings
> if you want the hostname to be resolved by other machines.
>
> Cheers,
> Tanner
> -- 
> TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>




More information about the TriLUG mailing list