Do I have this setup right? (DNS config)

sigmend

[H]ard|Gawd
Joined
Aug 6, 2003
Messages
1,303
Now, I don't totally know what I am doing, so I need a little help.

I am running MacOSX server and some services are failing to start. (KDC, LDAP acting screwy) etc.
Anyway, I have done all the configuring though the GUI to save time so I have no experience with the config files themselves

I want:
An A record from mattmckay.org to 10.0.0.2
A reverse mapping record for it, too
Same thing for localhost, but that should be correct as it came default
Code:
mattmckay:/etc matt$ cat named.conf 
// Declares control channels to be used by the rndc utility.
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.
//
controls {
        inet 127.0.0.1 port 54 allow {any; };

};
options {
        directory "/var/named";
        recursion true;
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

// 
// a caching only nameserver config
// 
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

zone "mattmckay.org." {
        file "mattmckay.org..zone";
        type master;
};

zone "0.0.10.in-addr.arpa" {
        file "0.0.10.in-addr.arpa.zone";
        type master;
};

logging {
        channel _default_log  {
                file "/Library/Logs/named.log";
                severity info;
                print-time yes;
        };
        category default {
                _default_log;
        };

};
 
bmp <-- The message you have entered is too short. Please lengthen your message to at least 4 characters.
 
Back
Top