10-28-2003
looking up hostname
Using Solaris 8 (or WINXP).
I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname?
nslookup gives me the following:
C:\>nslookup hostname
Server: dnsserver
Address: x.x.x.x
*** dnsserver can't find hostname: Non-existent domain
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow.
ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
3. Red Hat
Hello,
I would like to change the hostname on a Linux server (RHEL4).
I try different methods in vain :
- by using hostname command
- by changing /etc/hosts and /etc/hostname
But after restarting server, the old hostname re-appears... :confused:
And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies
4. Solaris
Hi All,
I am wondering how does the hostname command decides what is the actual hostname. Where does the command take the information from? (7 Replies)
Discussion started by: lmishkind
7 Replies
5. UNIX for Dummies Questions & Answers
I'm receiving the following message when executing hostname:
/usr/bin/hostname: /bin/uname: cannot execute
This error is usuallly a permissions issue but both /usr/bin/hostname and /bin/uname are set with the correct permissions as shown:
-r-xr-xr-x 1 root bin 561 Jan 21 2005... (4 Replies)
Discussion started by: t_coop
4 Replies
6. UNIX for Dummies Questions & Answers
Good day,
I would like to resolve IP's to Hostnames using Putty.
I'm using Mandriva Linux 2008.0.
Is this possible?
Perhaps with nmap? (13 Replies)
Discussion started by: McGuywer
13 Replies
7. Shell Programming and Scripting
I have a few servers whose hostname is "app.prod.cbo.im.foobar.com"
prod is the environment I want to capture in a perl script. I want the script to run on qa and it should be environment independent.So if I am running the script on app.qa.cbo.im.foobar.com I want to capture qa out of that... (4 Replies)
Discussion started by: jacki
4 Replies
8. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
9. AIX
Hi Gurus,
Can a AIX server with 4 LPARs, each having it's own hostname on the same physical host. Is this possible?
Thanks,
S (2 Replies)
Discussion started by: svajhala
2 Replies
10. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
LEARN ABOUT CENTOS
ipa-replica-prepare
ipa-replica-prepare(1) IPA Manual Pages ipa-replica-prepare(1)
NAME
ipa-replica-prepare - Create an IPA replica file
SYNOPSIS
ipa-replica-prepare [OPTION]... hostname
DESCRIPTION
Generates a replica file that may be used with ipa-replica-install to create a replica of an IPA server.
A replica can only be created on an IPA server installed with ipa-server-install (the first server).
You must provide the fully-qualified hostname of the machine you want to install the replica on and a host-specific replica_file will be
created. It is host-specific because SSL server certificates are generated as part of the process and they are specific to a particular
hostname.
If IPA manages the DNS for your domain, you should either use the --ip-address option or add the forward and reverse records manually using
IPA plugins.
Once the file has been created it will be named replica-hostname. This file can then be moved across the network to the target machine and
a new IPA replica setup by running ipa-replica-install replica-hostname.
A replica should only be installed on the same or higher version of IPA on the remote system.
OPTIONS
--dirsrv_pkcs12=FILE
PKCS#12 file containing the Directory Server SSL Certificate and Private Key
--http_pkcs12=FILE
PKCS#12 file containing the Apache Server SSL Certificate and Private Key
--dirsrv_pin=DIRSRV_PIN
The password of the Directory Server PKCS#12 file
--http_pin=HTTP_PIN
The password of the Apache Server PKCS#12 file
-p DM_PASSWORD, --password=DM_PASSWORD
Directory Manager (existing master) password
--ip-address=IP_ADDRESS
IP address of the replica server. If you provide this option, the A and PTR records will be added to the DNS.
--reverse-zone=REVERSE_ZONE
The reverse DNS zone to use
--no-reverse
Do not create reverse DNS zone
--ca=CA_FILE
Location of CA PKCS#12 file, default /root/cacert.p12
--debug
Prints info log messages to the output
EXIT STATUS
0 if the command was successful
1 if an error occurred
IPA
Mar 14 2008 ipa-replica-prepare(1)