Re: determine domain name
- From: Lamar Saxon <Lamar.Saxon@xxxxxxxxxxxxxxx>
- Date: Sat, 21 Jan 2006 09:36:52 -0600
You are correct. The unless the machine's hostname is configured as the
FQDN via the TCP configuration, you will not be able to derive it from
the ODM since it is NOT stored there.
The domain that is appended to the hostname and added to smit is stored
in /etc/resolv.conf. You could also use resolution if it is set to
local then bind and the FQDN entry is in /etc/hosts ( if it is the first
entry ).
This is one of those flat file things !
Look in /etc/resolv.conf and see if it has the info you are searching
for...
Lamar
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
F. Even
Sent: Saturday, January 21, 2006 12:42 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: determine domain name
Shawn Bierman wrote:
> Is there an "AIX" way to determine the domain name of a node?
>
> hostname only reveals the hostname and there are no options to that
> command to give the FQDN.
>
> I don't want to use /etc/resolv.conf, I suppose I want the ODM to tell
> me.
>
> I can find the hostname with "lsattr -El inet0 -a hostname -F value"
> but there isn't anything I can find similar to get the domain name.
Perhaps I'm missing the obvious...but if you have not configured an
FQDN, you will have no means of retrieving it.
If "hostname" does not reveal an fqdn, you most likely do not have one
configured. I don't recall of a "uname -n" will show the complete FQDN
or not (don't have access to an AIX box at this moment).
"smitty hostname" to configure.
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
- Prev by Date: Re: determine domain name
- Next by Date: Re: memory and page faults
- Previous by thread: Re: determine domain name
- Index(es):
Relevant Pages
- Re: server change for mindprod.com
... install and not have lost any of my data. ... For networking, few people
know the secret of Red Had networking. ... DHCP) and add your FQDN here. ... get
a hostname later; both hostname and hostname -f will return the same ... (comp.lang.java.programmer) - Re: Fixed but no idea why.
... Our topology is that the IIS SMTP server box is outside our firewall ...
Do I not need to set the FQDN? ... itself as (EHLO/HELO hostname). ... (microsoft.public.inetserver.iis.smtp_nntp) - Re: Please participate in the Ubuntu Popularity Contest !
... Create a correct entry for your machine with IP address, FQDN, and hostname.
... Use the HELO command, this should return either your FQDN or your IP ... The
danger in the Ubuntu setup is that it can land your ... (Ubuntu) - Re: FQDN, hostname and telnet
... FQDN, followed by the hostname. ... However, that connection is
wireless/wi-fi. ... The adapter is an Asus WL-330g which connects into the RJ-45 type ethernet
adapter. ... (Fedora) - Re: determine domain name
... hostname only reveals the hostname and there are no options to that ...
command to give the FQDN. ... FQDN, you will have no means of retrieving it. ...
(AIX-L)