Sample BIND Configuration Print

  • 22

Here is a very basic BIND named.conf file that enables zone transfers to DNS Unlimited.  This example only contains the additions needed to transfer zones to DNS Unlimited and will need to be merged with your current configuration.  Please contact support if you have any questions.

options {
#
# Only allow zone transfers to these servers
# Add others if you have other slave DNS servers
#
allow-transfer { 66.175.212.236; 198.101.252.231; };  
#
# Tell BIND to send NOTIFY packets to these servers
# This enables fasters transfers after zones are updated
# Optionally add other slave servers to this list
#
also-notify { 66.175.212.236; 198.101.252.231; };
#
# Only send NOTIFY packets to the servers listed in 
# also-notify above.  By default, BIND sends these 
# packets to all of the servers (NS records) in each zone
#
notify explicit;
};

zone "mydomain.com." IN {
        type master;
        file "/var/named/masters/mydomain.com-hosts";
};
 

Here is a sample zone file that shows the use of all 5 DNS Unlimited name servers:

$ORIGIN .
$TTL 86400      ; 1 day
mydomain.com            IN SOA  ns1.mydomain.com. hostmaster.mydomain.com. (
                                2012112701 ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                3600       ; minimum (1 hour)
                                )
$TTL 43200      ; 12 hours
$ORIGIN mydomain.com.
                        NS      ns1.dnsunlimited.com.
                        NS      ns2.dnsunlimited.com.
                        NS      ns3.dnsunlimited.com.
                        NS      ns4.dnsunlimited.com.
                        NS      ns5.dnsunlimited.com.
; additional records here....
 

Was this answer helpful?

« Back