10.07.2015 Views

Naming, Trading, Directory and Discovery Services (CDK – chap.9)

Naming, Trading, Directory and Discovery Services (CDK – chap.9)

Naming, Trading, Directory and Discovery Services (CDK – chap.9)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Types of DNS RecordsRecord type Meaning Main contentsA A computer address IP numberNAn authoritative name server Domain name for serverS CNAME The canonical name for an alias Domain name for aliasSO Marks the start of data for a zone Parameters governing the zoneA WKS A well-known service description List of service names <strong>and</strong> protocolsPTR Domain name pointer (reverse Domain namelookups)HINFO Host information Machine architecture <strong>and</strong> operatingsystemMX Mail exchange List of < preference, host > pairsTXT Text string Arbitrary textDNS APIThere exist a number of routines which will allow DNS searching <strong>and</strong>mapping of:• network names to network address numbersgethostname( ), gethostbyname( ), gethostbyaddress( )• protocol names to protocol numbersgetprotobyname( ), getprotobynumber( ),• service names to port numbersgetservbyname( ), getservbyport( ),Ian Johnson 64 Distributed Systems

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!