Template:egFqdnFromNslookup

From RaySoft

Syntax

{{egFqdnFromNslookup}}

Usage

Code

{{egFqdnFromNslookup}}

Result

Get the FQHN using nslookup
nslookup 'xeon' | awk --field-separator ':  *' '/Name/{print $2}'

Output:

xeon.raysoft.loc