View Single Post
  #10 (permalink)  
Old 04-08-2009, 09:20 PM
Linuxwho? Linuxwho? is offline
Active Member
 
Posts: 34
Default

Here is my named.conf file..should it be populated? Is my server acting as a DNS server? Dumb question but I think the answer is yes?

"// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};


Here is named.conf.local


"//
zone "mydomain.com" {
type master;
file "/etc/bind/db.mydomain.com";
};
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

Here is DB.mydomain.com:
;
; Bind data file for mydomain.com
;
$TTL 604800
@ IN SOA mail.mydomain.com. admin.mydomain.com. (
070725 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.1.110
mail IN A 192.168.1.110

Last edited by Linuxwho?; 04-08-2009 at 09:26 PM..
Reply With Quote