Visit Our UNIX and Linux User Community


canonical name in solaris and linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers canonical name in solaris and linux
# 1  
Old 08-03-2011
Question canonical name in solaris and linux

How can I get the "canonical name" in solaris and linux?

With canonical name I mean the BOLD text below.

Code:
/usr/sbin/nslookup hello.com
Server:         169.41.160.1
Address:        169.41.160.1#3

Non-authoritative answer:
hellos.com      canonical name = hello.com
Name:   hello.com
Address: 10.112.7.30

# 2  
Old 08-03-2011
You are using nslookup already, since this information is on a DNS server.

I think the term is deceptive. A CNAME record says what the canonical name of a secondary name is, so it is a secondary name record, not a canonical name record.

The most real, primary name is the reverse lookup name PTR (my mnemonic is pointer-reverse) record from fake domain inaddr.arpa.D.C.B.A (I forget what IPV6 does), which email servers and others will validate. It should have an A (address) record to match, which should be the only A record with that IP. Other names should all be on CNAME records, and all point to that name. People muddy this up all the time.

The nslookup is just telling your the answer is through a CNAME card, not an A card.

It is not that the Holy See is liking this name more, and has admitted it to the CANON. Smilie

Last edited by DGPickett; 08-03-2011 at 02:49 PM..
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #590
Difficulty: Easy
In a linear search algorithm, the input size is the number of elements in the collection (n) divided by 2.
True or False?

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting canonical path with sed

Hi there, Please read the preliminary notes: readlink does the same ....... I know realpath does the same ....... I know awk can do it ................ I know perl can do it ............... I know You're losing time ........... I knowI wrote the following script that I think prints a... (4 Replies)
Discussion started by: chebarbudo
4 Replies

2. Programming

Linux/Solaris System Administrator to become a Linux/Solaris System Programmer?

Hi all What is the qualification required by Linux/Solaris System Administrator to become a Linux/Solaris System Programmer as to gain complete knowledge on computers. Thanks (1 Reply)
Discussion started by: Tlogine
1 Replies

3. Shell Programming and Scripting

[Solved] Configure: error: invalid value of canonical target

Hi Everyone, I am trying to connect GDB-7.5.50-1 to the target but I am getting an error configure: error: invalid value of canonical target .In addition I gave the command ./configure --target=xyz --build= xyz --host=xyz. Furthemore the host and the build system are compeletly running but... (0 Replies)
Discussion started by: Heeka
0 Replies

4. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

5. Programming

How do you detect keystrokes in canonical mode?

I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
Discussion started by: Ultrix
4 Replies

6. Programming

Help with stdin and non-canonical mode

I am writing a more command for my class, and have it most of the way done, but with my current implimentation when I pipe stdin to my code it doesnt use my non-canonical/non echo settings I set for the terminal window. Do I need to specify a different terminal in order for this to work ? It works... (1 Reply)
Discussion started by: petricore
1 Replies

Featured Tech Videos