First time DNS setup

kilim kilim at phenix.rootshell.be
Fri Feb 11 04:26:36 PST 2005


Hello,

I'm trying to set up my DNS server and before I go ahead I wanna ask
you to tell me if my config is right.

Thank you.

This is my setup:

FreeBSD 5.3 with Bind 9.3
My Static IP: 123.456.789.999 (example only, obviously)
My domain name: really-cool-domain.com (example too)

my named.conf:


options {
        directory       "/etc/namedb";
        pid-file        "/var/run/named/pid";
        dump-file       "/var/dump/named_dump.db";
        statistics-file "/var/stats/named.stats";
	version         "None of your business";	

        listen-on       { 127.0.0.1; 123.456.789.999 };

	// is this ok ?
	

        forwarders {
                My_ISPs_DNS1;
                My_ISPs_DNS2;
        };

	query-source address * port 53;
	};

zone "." {
        type hint;
        file "named.root";
};

// whats going on here below

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "master/localhost.rev";
};

// IPv6 stuff omited !

zone "really-cool-domain.com" {
        type master;
        file "master/really-cool-domain.com";
};


Thank you !



More information about the freebsd-questions mailing list