Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting AIX system name to FQDN

1,706 views
Skip to first unread message

Scott Lopez

unread,
Aug 11, 1995, 3:00:00 AM8/11/95
to
Set it using smit. Updating it from the command line does NOT update the
underlying database files where everything is stored. I learned this the
hard way, use smit for all system configuration.

--
PGP Public Key Encryption: Get it. Use it. Maintain Public Privacy!

John Muscat

unread,
Aug 11, 1995, 3:00:00 AM8/11/95
to
How, if possible, can one permamently set the AIX system to use the FQDN
(fully qualified doamin name) convention.

I tried changing it using the uname command but it gets reset after a reboot.
For example:

# uname -n
myhost

# uname -S myhost.mydomain

# uname -n
myhost.mydomain

# /etc/reboot

# uname -n
myhost


I don't have this problem with other OS's (eg solaris, ultrix, osf1). Is
there away around this with AIX or is it not supported for some reason?

John

--

*****************************************************************************

John Muscat email : jmu...@yorku.ca
CCIS (UnixTeam) web : http://john_muscat.www.yorku.ca/
York University phone : (416) 736-2100 x22075
North York, Ontario,Canada M3J 1P3 office : Steacie T138

*****************************************************************************
Zed? It's Maynard. The spider just caught a coupl'a flies. (Pulp Fiction)
*****************************************************************************

Christopher C. Evert

unread,
Aug 11, 1995, 3:00:00 AM8/11/95
to
John Muscat (jmu...@hakkikt.ccs.yorku.ca) wrote:
: How, if possible, can one permamently set the AIX system to use the FQDN

: (fully qualified doamin name) convention.

I think you have to wrestle with smit to change the name in the TCP/IP
Minimum Configuration & Startup menu.

The command smit runs starts with:
mktcpip -h'myname.my.fully.qualified.domain.name'

I suspect this name is kept somewhere in the ODM database, but I haven't
found it (yet:-).

Hope this helps,
Chris Evert
--
Christopher C. Evert Opinions are mine, not Western Geophysical's.
cev...@wg.waii.com But they should be. (Just my opinion:-)
uunet!airgun!cevert Gnostically Uncanny Rhizuser of UNIX

John Muscat

unread,
Aug 14, 1995, 3:00:00 AM8/14/95
to
John Muscat (jmu...@hakkikt.ccs.yorku.ca) wrote:
: How, if possible, can one permamently set the AIX system to use the FQDN
: (fully qualified doamin name) convention.

: I tried changing it using the uname command but it gets reset after a reboot.
: For example:

: # uname -n
: myhost

: # uname -S myhost.mydomain

: # uname -n
: myhost.mydomain

: # /etc/reboot

: # uname -n
: myhost

The way around this is to modify the following line in /etc/rc.net
from:

/bin/uname -S`hostname|sed 's/\..*$//'` >>$LOGFILE 2>&1

to:

/bin/uname -S`hostname` >>$LOGFILE 2>&1

By default (not sure why) IBM strips the anything after the first "." in a
hostname set FQDN style (eg via mktcpip) when setting the uname.

Thanks to Bjorn Roden for pointing out the neccessary update.

Louis POTY

unread,
Aug 16, 1995, 3:00:00 AM8/16/95
to
jmu...@hakkikt.ccs.yorku.ca (John Muscat) wrote:
>How, if possible, can one permamently set the AIX system to use the FQDN
>(fully qualified doamin name) convention.
>

If you have a DNS at your site, set the file /etc/resolv.conf with these
two lines:
domain <domain_name>
nameserver <ip address of the DNS>
-
*********************************************************
Louis POTY | Just some words for *
lou...@sdv.fr | never more wars *
*********************************************************

0 new messages