Skip to content

Instantly share code, notes, and snippets.

@simonklee
Created June 9, 2011 07:34
Show Gist options
  • Save simonklee/1016259 to your computer and use it in GitHub Desktop.
Save simonklee/1016259 to your computer and use it in GitHub Desktop.
zone file
zone "trafo.no" {
type master;
file "/etc/master/trafo.no.zone";
allow-transfer {
127.0.0.1; # localhost
158.36.36.40; # ns1.uia.no
158.36.36.40; # ns2.uia.no
158.38.0.181; # nn.uninett.no
};
notify yes;
};
; trafo.no
$TTL 86400
trafo.no. IN SOA a.root-servers.net. info@trafo.no. (
2011060901 ; Serial
10800 ; refresh after 3 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400) ; minimum TTL of 1 day
; Name Server
IN NS ns1.uia.no. ; ns1.uia.no
IN NS ns1.uia.no. ; ns2.uia.no
IN NS nn.uninett.no. ; nn.uninett.no
; Mail Exchanger
IN MX 10 pat.uia.no.
IN MX 5 smtp.uia.no.
trafo.no. IN A 217.170.195.28
www IN CNAME 217.170.195.28
; Resource Record - veryfy the IP where your mails come from(disable if not needed)
; @ IN TXT "v=spf1 ip4:85.214.123.0/24 -all"
; EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment