RE: Dual DNS entries (was no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mon, 2007-04-09 at 13:04 -0700, Gareth Howlett wrote:
>> I have an odd question about updating a DNS server with an FC4
machine's
>> entry...
>> 
>> I have two NICs on the same box and I want each of them to respond to
>> different hostnames... EG: NIC1 = 1.abc.com, NIC2= 2.abc.com... Is
there
>> a way of doing this with the default FC4-style install (besides the
>> obvious cron script using nsupdate)?
>> 
>> - Gareth
> 
> I believe the variables in the /etc/sysconfig/network file can also be
> put in the ifcfg-ethx files so you could put different HOSTAMAME
> designations in the ifcfg-eth1 and the ifcfg-eth2 files as well as
> different ip-numbers there and in the /etc/hosts file.
> --
>
=======================================================================
> "The way of the world is to praise dead saints and prosecute live
ones."
> -- Nathaniel Howe
>
=======================================================================
> Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

ifcfg-eth0 added:
HOSTNAME=test1a.abc.com
ifcfg-eth1 added:
HOSTNAME=test1b.abc.com

/etc/hosts added:
IP1	test1a.abc.com
IP2	test1b.abc.com

Still didn't update the DNS appropriately... infact it's not registering
either interface... Should I be running BIND or something similar?  It
seems to be this should be part of the inittools like you implied below,
but I can't figure it out.

- Gareth


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux