Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 13:26:34 +0100
From:      kilim <kilim@phenix.rootshell.be>
To:        freebsd-questions@freebsd.org
Subject:   First time DNS setup
Message-ID:  <20050211122634.GA715@phenix.rootshell.be>

next in thread | raw e-mail | index | archive | help

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 !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050211122634.GA715>