Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cTld-Am I creating this named.conf file right?

Status
Not open for further replies.

blinton25

Programmer
Mar 20, 2004
104
BB
Hello,

I was given the zone files containing website names (mysite.cad,yoursitename.cad) for a ctld (e.g. .cad) and I am creating the master zones using webmin.

Is this the correct named.conf file that should be generated:

-----------------------------------------------------------// Default named.conf generated by install of bind-9.2.4-16.EL4
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
include "/etc/rndc.key";

zone "cad" {
type master;
file "/var/named/chroot/master/cad.zon";
};
------------------------------------------------------------



The Zone file looks like:

cad. IN SOA dns1.mydomain.com. postmaster.mydomain.com. (
2006014006; serial
86400; refresh in secs
1800; retry in secs
604800; expire in secs
43200; minimum in secs
)
mysite.cad. 43200 NS ns2.dotster.net.
yoursitename.cad. 43200 NS ns2.dotster.net.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top