Bind9

installation
The bind9 package is included in most Linux/Unix and BSD packet management systems.

Here an example with gentoo:
 * 1) emerge -av bind9

zone files
example: $ORIGIN	drolgaf.ch. $TTL	4h @		IN	SOA	ns00.gwitter.ch. hostmaster.gwitter.ch. ( 	2011121201	; Serial 	1h		; Refresh 	10M		; Retry 	3W		; Expire 	1h		; Negative Cache TTL ) @		IN	NS	ns00.gwitter.ch. @		IN	MX	10 mail @		IN	A	178.198.62.200 mail		IN	A	178.198.62.200 *		IN	CNAME	drolgaf.ch.

SRV-Records
They are used to auto detect servers for specific services (ex. jabber server)

jabber
_jabber._tcp		IN	SRV	20		0	5269		xmpp00.int _xmpp-client._tcp	IN	SRV	20		0	5222		xmpp00.int _xmpp-server._tcp	IN	SRV	20		0	5269		xmpp00.int
 * 1)  Service.Proto.Name	Class 	SRV 	Priority 	Weight 	Port 		Target