akbkhome

DNS Setup Notes

Simple notes to help set up name servers. (which work, although may be slightly broken)

a) in /etc/bind/named.conf
zone "akbkhome.com" {
        type master;
        file "named.akbkhome.com";
};
b) (based on the directory line in /etc/bind/named.conf) edit the corresponding file named.akbkhome.com

;main expiry stuff
@ IN SOA akbkhome.com. root.akbkhome.com. (
2005030305 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D ) ; minimum, seconds

;your name servers (dont forget the ending dot!)
NS ns1.akbkhome.com.
NS ns2.akbkhome.com.

; this is a SPF setting (dont forget the ending dot!)
akbkhome.com. IN TXT "v=spf1 a ip4:192.168.0.0/24 -all"


; wheres you mail baby (dont forget the ending dot!)
MX 10 mail.akbkhome.com.

; where are you? (dont forget the ending dot!)
akbkhome.com. A 202.81.246.113

; and any subdomains you have!
www A 202.81.246.113
blog A 202.81.246.113
mail A 202.81.246.113
;.....

Add a comment (requires javascript!)

Name
Email
Homepage
Comment
 

Edit Document | Create Page:
Contact me at alan@akbkhome.com | Manage