Configuration File Examples

OSGuides.net BIND configuration file

Here is the /var/named/osguides.net file:
; *** DNS Zone of OSGuides.net ***
$TTL    86400

@       IN      SOA     ns1.osguides.net. ns2.osguides.net. (
1192083306      ; Serial
10800   ; Refresh
3600    ; Retry
604800  ; Expire
10800 ) ; Minimum

osguides.net.                         IN NS   ns1.osguides.net.
osguides.net.                         IN NS   ns2.osguides.net.
ns1.osguides.net.                 IN A    213.240.227.74
ns2.osguides.net.                 IN A    213.240.227.74
osguides.net.                         IN A    213.240.227.74
*                                               IN A    213.240.227.74
webmail.osguides.net.        IN A    213.240.227.74
mail.osguides.net.               IN A    213.240.227.74
ftp.osguides.net.                  IN CNAME    osguides.net.
www.osguides.net.             IN CNAME    osguides.net.
osguides.net.                       IN MX  10 mail.osguides.net.
osguides.net.                       IN TXT  “v=spf1 mx -all”

Leave a Reply