08-24-2006
Name resolution? Have you changed a hostname?
10 More Discussions You Might Find Interesting
1. Programming
Hello,
I would like to do a program (in C) on which I would have to call 3 or more executables using execl command. But if the executables are situated on another machine say Y and I do a programe on the machine X, is it possible to invoke those executables (binaries) from the other machine... (1 Reply)
Discussion started by: driki
1 Replies
2. UNIX for Advanced & Expert Users
Hi, I am trying to use swremove to remove some old software packages before an upgrade. I keep getting the same error below. I have restarted swagent, i have killed the swagent process and started it, and I have restarted the entire system. I have now run out of ideas. Anyone know what the problem... (0 Replies)
Discussion started by: ejbrever
0 Replies
3. Linux
I hope to post in the right forum, otherwise I apologize for this.
if a MMU exception is caused by a process which tries to access to other memory segment (out of its own address space) what the kernel does in this case ?
maybe kernel kills the "bad" process ? (2 Replies)
Discussion started by: Puntino
2 Replies
4. Shell Programming and Scripting
Hi,
I have written a script to load csv files into a mysql database, however, i would like for the shell script to exit in the event of an error (missing file, load error etc.) - currently if an error is encountered the next statement is processed - This is how i am loading the csv scripts
... (5 Replies)
Discussion started by: bertpereira
5 Replies
5. Solaris
while i trying to mount from NAS i have this messages
mount -F nfs -o rw 172.16.110.13:/tremabkup /tremabkup
nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out
nfs mount: retrying: /tremabkup
nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out
nfs mount:... (2 Replies)
Discussion started by: thecobra151
2 Replies
6. Solaris
Hello I am having an issue with a server SUN FIRE T2000 (Solaris 10).
First of all the server didn't boot normaly so I did a full restoration of the file systems.
Now the server boot, most of the services are available (not all the services), but I keep on seeing
RPC: Rpcbind failure -... (4 Replies)
Discussion started by: feg
4 Replies
7. Solaris
C: Rpcbind failure - RPC: Timed out error (solaris)
hello an nfs server on my sun fire v440 is not responding , i get the error bellow and lots of my networking services are not reponding, please helppppp its an emergency
RPC: Rpcbind failure - RPC: Timed out
i also get
NFS server... (2 Replies)
Discussion started by: feg
2 Replies
8. Programming
Hello All,
I have a question ....which I am totally confused about!
If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception.
Now my exception handler returns a value as a string stating why the exception occured.
But my... (1 Reply)
Discussion started by: mind@work
1 Replies
9. Solaris
Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error:
nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out
nfs mount: retrying: /cdrom
This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies
10. Shell Programming and Scripting
Hi Folks,
please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
LEARN ABOUT HPUX
hostname
hostname(5) File Formats Manual hostname(5)
NAME
hostname - host name resolution description
DESCRIPTION
Hostnames are domains. A domain is a hierarchical, dot-separated list of subdomains. For example, the machine in the subdomain of the sub-
domain of the Internet Domain Name System would be represented as
(with no trailing dot).
Hostnames are often used with network client and server programs, which must generally translate the name to an address for use. (This
task is usually performed by the library routine
When NIS or the host table is being used for hostname resolution, the hostname is looked up without modification. When DNS is used, the
resolver may append domains to the hostname.
The default method for resolving hostnames by the Internet name resolver is to follow security recommendations. Actions can be taken by
the administrator to override these recommendations and to have the resolver behave the same as earlier, non-RFC 1535 compliant resolvers.
The default method (using RFC 1535 guidelines) follows:
If the name consists of a single component, i.e. contains no dot, and if the environment variable is set to the name of a file, that file
is searched for a string matching the input hostname. The file should consist of lines made up of two strings separated by white-space,
the first of which is the hostname alias, and the second of which is the complete hostname to be substituted for that alias. If a case-
insensitive match is found between the hostname to be resolved and the first field of a line in the file, the substituted name is looked up
with no further processing.
If there is at least one dot in the name, then the name is first tried as is. The number of dots to cause this action is configurable by
setting the threshold using the option in (default: If the name ends with a dot, the trailing dot is removed, and the remaining name is
looked up (regardless of the setting of the 'ndots' option) and no further processing is done.
If the input name does not end with a trailing dot, it is looked up by searching through a list of domains until a match is found. If nei-
ther the search option in the file or the environment variable is used, then the search list of domains contains only the full domain spec-
ified by the domain option (in or the domain used in the local hostname (see resolver(4)). For example, if the option is set to CS.Berke-
ley.EDU, then only CS.Berkeley.EDU will be in the search list and will be the only domain appended to the partial hostname, lithium, making
the only name to be tried using the search list.
If the search option is used in or the environment variable, is set by the user, then the search list will include what is set by these
methods. For example, if the option contained
then the partial hostname (e.g., lithium) will be tried with each domain name appended (in the same order specified). The resulting host-
names that would be tried are:
The environment variable overrides the and options, and if both options are present in the resolver configuration file, then only the last
one listed is used (see resolver(4)).
If the name was not previously tried ``as is'' (i.e., it fell below the threshold or did not contain a dot), then the name, as originally
provided, is attempted.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
named(1M), gethostbyname(3N), gethostent(3N), resolver(4), RFC 1535.
hostname(5)