1754321 Members
2919 Online
108813 Solutions
New Discussion юеВ

FQDN or DNS

 
SOLVED
Go to solution
Marylou Kohlmeier
Frequent Advisor

FQDN or DNS

Is there a command to find out if I'm using FQDN or DNS? I'm on HP-UX 11.23 RX 7640 Itanium

thank you,
Marylou
8 REPLIES 8
Steven Schweda
Honored Contributor

Re: FQDN or DNS

Ok, I give up. Using for what, where, how?

A Fully Qualified Domain Name is one thing.
A/the Domain Name Server/Service/System is
something else (as well as being ambiguous).

Is there some actual problem which you are
trying to solve?
Kranti Mahmud
Honored Contributor
Solution

Re: FQDN or DNS

Hi Marylou,

You can fine FQDN-Fully Qualified Domain Name whenever U find a . (dot) after the end of the domain name as (www.hp.com.). For more details, check the link:
http://en.wikipedia.org/wiki/FQDN

DNS or Domain Name System is a different thing what you can find at below:

http://en.wikipedia.org/wiki/Domain_name_system

Rgds-Kranti

Dont look BACK as U will miss something INFRONT!
Taifur
Respected Contributor

Re: FQDN or DNS

Hu Kholmer,

You can use dig commnand to find out FQDN/DNS
or nslookup
#nslookup
#set type = any
#type your FQDN/DNS

Rgds//
Taifur

Suraj K Sankari
Honored Contributor

Re: FQDN or DNS

Hi,

try with nslookup servername

Suraj
Bill Hassell
Honored Contributor

Re: FQDN or DNS

nsquery is a bit better than nslookup but the actual hostname or IP resolution depends on the application you are using. nsquery covers many, but not all resolver implementations. Have you looked at /etc/nsswitch.conf and the nsswitch man page? This file is the most important in configuring resolver behavior -- and the default is not usually the best choice.


Bill Hassell, sysadmin
Marylou Kohlmeier
Frequent Advisor

Re: FQDN or DNS

This is what I have for /etc/nsswitch.conf

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=c
ontinue TRYAGAIN=continue]
services: files
aliases: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
Torsten.
Acclaimed Contributor

Re: FQDN or DNS

Your server looks into the hosts file first, if nothing found it will "ask" DNS. Looks good.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mel Burslan
Honored Contributor

Re: FQDN or DNS

In the light of what your nsswitch.conf file, your system first looks into /etc/hosts file and if it can not find the server in this file, then it goes to the DNS server. Which DNS server it will use, will be determined by the order of servers in /etc/resolv.conf file.

The terminology used in your question is a little bit confusing. FQDN (or Fully Qualified Domain Name) is not a complementary term to DNS usage.

Hope this helps.
________________________________
UNIX because I majored in cryptology...