Using Dynamic Internet Links 17
HostName(column1):UsethehostnameassignedtotheMTA’sserver.Intheaboveexample,
corp
,
gwdev
,and
gwsupport
arethehostnamesassignedtothreeMTAservers.
Class(column2):UseINtorepresenttheInternet.
Type(column3):UseAtospecifyanaddressrecord.
IPAddress(column4):UsetheIPaddressassignedtotheMTA’sserver.
3.4.2 Creating the Service ("SRV") or Text ("TXT") Record
YoucanuseeitherservicerecordsortextrecordstomapyourInternetdomainnamestoMTAs.The
followingtextshowssampleʺSRVʺandʺTXTʺrecords:
;
; Service ("SRV") records
;
gwmtp.tcp.novell.com 172800 IN SRV 1 0 7100 corp.serv.novl
gwmtp.tcp.groupwise IN SRV 1 1 7100 corp.serv.novl
gwmtp.tcp.groupwise IN SRV 1 2 7100 gwdev.serv.novl
gwmtp.tcp.support 172800 IN SRV 1 0 7100 gwsup.serv.novl
gwmtp.tcp.support 172800 IN SRV 2 0 7100 corp.serv.novl
;
; Text ("TXT") records
;
gwmtp.tcp.novell.com 172800 IN TXT "1 0 7100 corp.serv.novl"
gwmtp.tcp.groupwise IN TXT "1 1 7100 corp.serv.novl"
gwmtp.tcp.groupwise IN TXT "1 2 7100 gwdev.serv.novl"
gwmtp.tcp.support 172800 IN TXT "1 0 7100 gwsup.serv.novl"
gwmtp.tcp.support 172800 IN TXT "2 0 7100 corp.serv.novl"
Service.Protocol.Name(column1):Theservicemustbespecifiedas
gwmtp
.Theprotocolmustbe
specifiedas
tcp
.ThenamecorrespondstotheInternetdomainnameyouwantassociatedwiththe
MTA.Intheabovesample,
novell.com
,
groupwise.novell.com
,and
support.novell.com
arethe
InternetdomainnamesdefinedinGroupWise.
TimetoLive(column2):TTL(timetolive)istheamountoftimetherecordiscachedinmemoryso
itdoesnotneedtobelookedupagain.TTLisspecifiedinseconds.Intheabovesample,172800
represents2days.
Ifyoudon’tspecifyaTTL,therecordisnotcached.
Class(column3):Enter
IN
torepresenttheInternet.
Type(column4):Enter
SRV
tospecifyaservicerecord.Enter
TXT
tospecifyatextrecord.
Priority(column5):IfanInternetdomainnameisassociatedwithtwodifferentMTAs,thehostwith
thelowestvalueisalwayscontactedfirst.Forexample,ahostwithpriority1iscontactedbeforea
hostwithpriority2.IftworecordswiththesameInternet
domainnamehavethesamepriority,the
weightnumberisused.Intheaboveexample,thetwo
groupwise.novell.com
recordshavethe
samepriority,sothe weightwouldbeused.
Weight(column6):Theweightnumberspecifieshowtoallocateconnectionsamonghostswith
equalpriorities.Inthe
groupwise.novell.com
recordabove,the
corp.serv.novl
hostandthe
gwdev.serv.novl
hosthaveequalpriorities,butthe
corp.serv.novl
hosthasaweightof1andthe
gwdev.serv.novl
hosthasaweightof2.Thismeansthat1outof3timesthe
corp.serv.novl
host
wouldbecontactedfirst,and2outof3times,the
gwdev.serv.novl
hostwouldbe contactedfirst.
Port(column7):TheportnumberspecifiestheTCPportonwhichtheMTAlistensforincoming
messages.ThedefaultportnumberfortheMTAis7100.