The 3 files you need to modify are shown below. I run Ubuntu.
I read that whatever your linux flavor is, it's the same files.
these files are very sensitive so don't type by hand unless you trust yourself. If you follow the guide and look at my sample files you should be ok.
db.mydomain.net file:
;
;BIND data file for fbocinc.net
;
$TTL 604800
@ IN SOA mail.mydomain.net. admin.mydomain.net. (
090628 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.208.248
mail IN A 192.168.208.248
named.conf.local file:
//
// Do any local configuration here
//
zone "mydomain.net" {
type master;
file "/etc/bind/db.mydomain.net";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
named.conf.options file:
options {
directory "/var/cache/bind";
query-source address * port 53;
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See
US-CERT Vulnerability Note VU#800113 - Multiple DNS implementations vulnerable to cache poisoning
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
xxx.166.8.54; yyy.118.1.28;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};